C++ Logo

std-proposals

Advanced search

Re: Allowing access to object representations

From: language.lawyer_at <language.lawyer_at_[hidden]>
Date: Tue, 20 Aug 2019 01:20:47 +0300
On 20/08/2019 01:11, language.lawyer_at_[hidden] wrote:
> Again: the lifetime of the array won't end, but the lifetime of its *elements*, covered by a newly created object, will.
> If, say, an `int` object `i` is created at the beginning of an `unsigned char` array `a`, which one nested within the other: `i` or `a[0]`?

Fix: which one is nested within the other: `i` within `a[0]` or `a[0]` within `i`?

Received on 2019-08-19 17:22:51