C++ Logo

std-proposals

Advanced search

Re: Allowing access to object representations

From: Hyman Rosen <hyrosen_at_[hidden]>
Date: Wed, 21 Aug 2019 13:39:39 -0400
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."

Received on 2019-08-21 12:41:53