Created on 2023-04-09.00:00:00 last changed 12 months ago
Proposed resolution (approved by CWG 2023-04-28):
Change in 7.6.1.9 [expr.static.cast] paragraph 2 as follows:
An lvalue of type “cv1 B”, where B is a class type, can be cast to type “reference to cv2 D”, where D is a complete class derived (11.7 [class.derived]) from B, if cv2 is the same cv-qualification as, or greater cv-qualification than, cv1. ...
[Accepted as a DR at the June, 2023 meeting.]
Issue 2310 clarified class completeness requirements for derived-to-base pointer conversions, but neglected the corresponding lvalue conversion.
History | |||
---|---|---|---|
Date | User | Action | Args |
2023-12-19 10:15:28 | admin | set | status: dr -> drwp |
2023-07-16 13:00:43 | admin | set | status: ready -> dr |
2023-04-28 19:41:23 | admin | set | status: open -> ready |
2023-04-11 20:37:15 | admin | set | messages: + msg7252 |
2023-04-09 00:00:00 | admin | create |