This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 116a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-12-19


2019. Member references omitted from description of storage duration

Section: 6.7.6.1  [basic.stc.general]     Status: CD4     Submitter: David Krauss     Date: 2014-10-08

[Moved to DR at the October, 2015 meeting.]

According to 6.7.6.1 [basic.stc.general] paragraph 1,

The storage duration of member subobjects, base class subobjects and array elements is that of their complete object (6.7.2 [intro.object]).

This wording does not cover member references, which should also have the same storage duration as the object of which they are a member.

Proposed resolution (May, 2015):

Change 6.7.6.1 [basic.stc.general] paragraph 1 as follows:

The storage duration of member subobjects, base class subobjects and array elements reference members is that of their complete object (6.7.2 [intro.object]).