C++ Logo


Advanced search

Re: [std-proposals] Relax condition for potentially invoked destructor in constructor

From: Arthur O'Dwyer <arthur.j.odwyer_at_[hidden]>
Date: Fri, 25 Feb 2022 14:39:23 -0500
On Fri, Feb 25, 2022 at 2:36 PM Jody Hagins via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> I'm pretty sure that quote comes from a proposed change for 2023, where
> they are dropping the access control recording privilege.
> The same wording for 2020 is this...
> (4.2) — If two pointers point to different non-static data members of the
> same object, or to subobjects of such members, recursively, the pointer to
> the later declared member is required to compare greater provided the two
> members have the same access control (11.9), neither member is a subobject
> of zero size, and their class is not a union.

has (in the recent past, after C++20 was released) changed the working
draft's wording in both [class.mem] *and* [expr.rel].


Received on 2022-02-25 19:39:35