Created on 2019-11-19.00:00:00 last changed 4 months ago
Proposed resolution (approved by CWG 2024-01-19):
Change in 9.4.5 [dcl.init.list] paragraph 3 as follows:
List-initialization of an object or reference of type cv T is defined as follows:
- ...
- If T is an aggregate class and the initializer list has a single element of type
cvcv1 U, where U is T or a class derived from T, the object is initialized from that element (by copy-initialization for copy-list-initialization, or by direct-initialization for direct-list-initialization).- ...
[Accepted as a DR at the March, 2024 meeting.]
(From editorial issue 3492.)
Subclause 9.4.5 [dcl.init.list] paragraph 3 specifies:
List-initialization of an object or reference of type T is defined as follows:
- ...
Top-level cv-qualifiers should be ignored when comparing T to other types, e.g. in 9.4.5 [dcl.init.list] bullet 3.2.
History | |||
---|---|---|---|
Date | User | Action | Args |
2024-07-20 13:52:34 | admin | set | status: dr -> drwp |
2024-04-05 21:43:46 | admin | set | status: ready -> dr |
2024-03-20 14:10:31 | admin | set | status: tentatively ready -> ready |
2024-01-21 13:30:12 | admin | set | status: open -> tentatively ready |
2023-11-23 22:16:33 | admin | set | messages: + msg7526 |
2019-11-19 00:00:00 | admin | create |