C++ Logo

STD-DISCUSSION

Advanced search

Subject: Re: when to std::launder
From: Larry Evans (cppljevans_at_[hidden])
Date: 2019-04-29 09:42:54


Hi Nicolas,

On 4/29/19 7:14 AM, Nicolas Lesser via Std-Discussion wrote:
> char buffer[sizeof(C)]; is not reassignable.

That's an example of something that has some property,
that's not a definition of that property.

For example, is:

   char buffer[2]; also not reassignable?

Searching:

   http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/n4800.pdf

showed no occurrence of reassignable.

Could you please define more specifically what "reassignable" means?

TIA.

-regards,
Larry

>
> On Mon, Apr 29, 2019, 12:07 PM Mohamed Khaled <mkmostafa92_at_[hidden]> wrote:
>
>> what does "and/or not reassignable buffer" mean?
>>
[snip]


STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups