C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] Allowing access to object representations
From: Hyman Rosen (hyrosen_at_[hidden])
Date: 2019-08-21 12:39:39


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."



STD-PROPOSALS list run by herb.sutter at gmail.com

Standard Proposals Archives on Google Groups