Created on 2014-02-13.00:00:00 last changed 81 months ago
Proposed resolution (November, 2016):
Change 9.4.2 [dcl.init.aggr] paragraph 2 as follows:
The elements of an aggregate are:
for an array, the array elements in increasing subscript order, or
for a class, the direct base classes in declaration order followed by the direct non-static data members that are not members of an anonymous union, in declaration order.
Change 11.4 [class.mem] paragraph 1 as follows:
The member-specification in a class definition declares the full set of members of the class; no member can be added elsewhere. A direct member of a class X is a member of X that was first declared within the member-specification of X, including anonymous union objects and direct members thereof. Members of a class are...
Change 11.5.2 [class.union.anon] paragraph 1 as follows:
A union of the form
union { member-specification } ;
is called an anonymous union; it defines an unnamed type and an unnamed object of
...unnamedthat type called an anonymous union object. Each member-declaration in the member-specification of an anonymous union
Additional note, October, 2015:
This issue is expected to be addressed by the wording of N4532 or a successor thereof (“Default Comparisons”).
[Adopted at the February/March, 2017 meeting.]
The term “direct member” is used in 11.5 [class.union] paragraph 8 but is not defined. It might be better to refer to the class's member-specification instead.
History | |||
---|---|---|---|
Date | User | Action | Args |
2018-02-27 00:00:00 | admin | set | status: ready -> c++17 |
2017-02-06 00:00:00 | admin | set | messages: + msg5719 |
2017-02-06 00:00:00 | admin | set | messages: + msg5718 |
2017-02-06 00:00:00 | admin | set | status: drafting -> ready |
2014-07-07 00:00:00 | admin | set | status: open -> drafting |
2014-02-13 00:00:00 | admin | create |