Title
Type completeness for derived-to-base conversions
Status
drwp
Section
7.6.1.9 [expr.static.cast]
Submitter
Jim X

Created on 2023-04-09.00:00:00 last changed 11 months ago

Messages

Date: 2023-04-28.19:41:23

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. ...
Date: 2023-06-15.00:00:00

[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:28adminsetstatus: dr -> drwp
2023-07-16 13:00:43adminsetstatus: ready -> dr
2023-04-28 19:41:23adminsetstatus: open -> ready
2023-04-11 20:37:15adminsetmessages: + msg7252
2023-04-09 00:00:00admincreate