Created on 2023-01-20.00:00:00 last changed 17 months ago
Proposed resolution (approved by CWG 2023-01-27):
Change in 11.4.6 [class.copy.assign] paragraph 13 as follows:
The implicitly-defined copy/move assignment operator for a union X copies the object representation (6.8.1 [basic.types.general]) of X. ...
[Accepted as a DR at the February, 2023 meeting.]
Subclause 11.4.6 [class.copy.assign] paragraph 13 does not specify the semantics of a defaulted move assignment operator:
The implicitly-defined copy assignment operator for a union X copies the object representation (6.8.1 [basic.types.general]) of X. ...
In contrast, the corresponding rule for move constructors is present in 11.4.5.3 [class.copy.ctor] paragraph 15:
The implicitly-defined copy/move constructor for a union X copies the object representation (6.8.1 [basic.types.general]) of X. ...
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: dr -> open |
2023-02-18 18:43:04 | admin | set | status: ready -> dr |
2023-02-07 05:32:28 | admin | set | status: tentatively ready -> ready |
2023-01-27 23:50:39 | admin | set | status: open -> tentatively ready |
2023-01-21 13:13:26 | admin | set | messages: + msg7149 |
2023-01-20 00:00:00 | admin | create |