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

2024-11-11


2019. Member references omitted from description of storage duration

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

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

According to 6.7.5.6 [basic.stc.inherit] 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.5.6 [basic.stc.inherit] 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]).