Subject: Re: [std-proposals] Allowing access to object representations
From: Ville Voutilainen (ville.voutilainen_at_[hidden])
Date: 2019-08-21 12:44:34
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.
STD-PROPOSALS list run by herb.sutter at gmail.com
Standard Proposals Archives on Google Groups