Date: Wed, 21 Aug 2019 16:37:47 +0300
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_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.
Received on 2019-08-21 08:40:02