C++ Logo

std-proposals

Advanced search

Re: Explicit Order

From: Arvid Norberg <arvid.norberg_at_[hidden]>
Date: Thu, 27 Feb 2020 18:01:17 +0100
On Thu, Feb 27, 2020 at 5:50 PM Brian Bi via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> On Thu, Feb 27, 2020 at 10:37 AM Ryan Nicholl via Std-Proposals <
> std-proposals_at_[hidden]> wrote:
> [...]
> I think it's better to have the order of construction and destruction go
> according to the declaration order, and add some new feature to control the
> memory layout, rather than the reverse.
>

Rene Rivera wrote a paper for this that he presented in SG14.

https://raw.githack.com/grafikrobot/papers/master/wg21/member_layout/member_layout_D1605R0.html

-- 
Arvid Norberg

Received on 2020-02-27 11:04:12