C++ Logo


Advanced search

Subject: Re: [std-proposals] Allowing access to object representations
From: Ville Voutilainen (ville.voutilainen_at_[hidden])
Date: 2019-08-21 08:37:47

On Wed, 21 Aug 2019 at 16:30, Timur Doumler via Std-Proposals
<std-proposals_at_[hidden]> wrote:
> Hi,
> > On 21 Aug 2019, at 15:01, sdkrystian via Std-Proposals <std-proposals_at_[hidden]> wrote:
> > Well the implementation of a standard library function by the implementation never invokes UB: they get to break all sorts of rule. It need not even be written in C++.
> Sure, but then it would also mean that those functions are essentially unimplementable if you are NOT a compiler vendor. Which is kind of insane imho.

There are other functionalities in the library that require
implementation magic, and they are certainly not insane. Whether
memcpy et al. should be magic functions is a different
question, and it would be great if they weren't required to be.

STD-PROPOSALS list run by herb.sutter at gmail.com

Standard Proposals Archives on Google Groups