Created on 2015-11-15.00:00:00 last changed 81 months ago
Proposed resolution (January, 2017):
Change 6.8.5 [basic.type.qualifier] paragraph 2 as follows:
A compound type (6.8.4 [basic.compound]) is not cv-qualified by the cv-qualifiers (if any) of the types from which it is compounded. Any cv-qualifiers applied to an array type affect the array element type, not the array type(9.3.4.5 [dcl.array]).
[Adopted at the February/March, 2017 meeting.]
Issue 1059 changed 6.8.5 [basic.type.qualifier] paragraph 6 to read,
An array type whose elements are cv-qualified is also considered to have the same cv-qualifications as its elements.
However, that change overlooked the earlier statement in paragraph 2,
A compound type (6.8.4 [basic.compound]) is not cv-qualified by the cv-qualifiers (if any) of the types from which it is compounded. Any cv-qualifiers applied to an array type affect the array element type, not the array type (9.3.4.5 [dcl.array]).
History | |||
---|---|---|---|
Date | User | Action | Args |
2018-02-27 00:00:00 | admin | set | status: tentatively ready -> c++17 |
2017-02-06 00:00:00 | admin | set | messages: + msg5728 |
2015-11-15 00:00:00 | admin | create |