Date: Wed, 21 Aug 2019 20:44:34 +0300
On Wed, 21 Aug 2019 at 20:39, Hyman Rosen <hyrosen_at_[hidden]> wrote:
>
> On Wed, Aug 21, 2019 at 9:43 AM Timur Doumler via Std-Proposals <std-proposals_at_[hidden]> wrote:
>>
>> What I find insane is that magic is required for something as basic and simple as looking at the bytes that make up the value of an object.
>
>
> We should revert C++ to using the C Standard definition of object lifetime [6.2.4/2]:
> "The lifetime of an object is the portion of program execution during which storage is guaranteed to be reserved for it."
That works great for a language where every type is trivial. C is such
a language, C++ is not.
>
> On Wed, Aug 21, 2019 at 9:43 AM Timur Doumler via Std-Proposals <std-proposals_at_[hidden]> wrote:
>>
>> What I find insane is that magic is required for something as basic and simple as looking at the bytes that make up the value of an object.
>
>
> We should revert C++ to using the C Standard definition of object lifetime [6.2.4/2]:
> "The lifetime of an object is the portion of program execution during which storage is guaranteed to be reserved for it."
That works great for a language where every type is trivial. C is such
a language, C++ is not.
Received on 2019-08-21 12:46:49