Created on 2022-05-24.00:00:00 last changed 17 months ago
Proposed resolution (approved by CWG 2022-08-26):
Change in 9.4.1 [dcl.init.general] bullet 16.6.1 as follows:
[Example 2: T x = T(T(T()));calls the T default constructor to initializevalue-initializes x. —end example]
[Accepted as a DR at the November, 2022 meeting.]
Subclause 9.4.1 [dcl.init.general] bullet 16.6.1 says:
[Example 2: T x = T(T(T())); calls the T default constructor to initialize x. —end example]
This is incorrect; in some situations, the default constructor is not invoked (see 9.4.1 [dcl.init.general] paragraph 9).
History | |||
---|---|---|---|
Date | User | Action | Args |
2023-07-16 13:00:43 | admin | set | status: open -> c++23 |
2023-07-16 13:00:43 | admin | set | status: drwp -> open |
2023-02-18 18:43:04 | admin | set | status: dr -> drwp |
2022-11-25 05:14:04 | admin | set | status: ready -> dr |
2022-08-26 21:45:07 | admin | set | status: open -> ready |
2022-08-23 21:37:22 | admin | set | messages: + msg6899 |
2022-05-24 00:00:00 | admin | create |