C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] Explicit Order
From: Arvid Norberg (arvid.norberg_at_[hidden])
Date: 2020-02-27 11:01:17


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


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

Standard Proposals Archives on Google Groups