C++ Logo

sg12

Advanced search

Re: [isocpp-ext] [isocpp-core] P3006 Launder less after placement new

From: Andrey Erokhin <language.lawyer_at_[hidden]>
Date: Tue, 17 Oct 2023 21:24:53 +0500
> Actually, it would probably be better to refer to "provides storage" in the
> proposed change, e.g. something like
>
> "one is an array of std::byte or unsigned char and the other is an object
> for which the array provides storage, created at the address of the first
> array element"

I think we need to convert between array elements and objects, not arrays. E.g.

"One is an array of std::byte or unsigned char element and the other is an object for which the array provides storage, created at the address of the array element"

Received on 2023-10-17 16:24:56