Title
Casting to incomplete enumeration
Status
cd4
Section
7.6.1.9 [expr.static.cast]
Submitter
Richard Smith

Created on 2014-01-16.00:00:00 last changed 87 months ago

Messages

Date: 2014-11-15.00:00:00

[Moved to DR at the November, 2014 meeting.]

Date: 2014-02-15.00:00:00

Proposed resolution (February, 2014):

Change 7.6.1.9 [expr.static.cast] paragraph 10 as follows:

A value of integral or enumeration type can be explicitly converted to an a complete enumeration type. The value is...
Date: 2014-01-16.00:00:00

The specification of casting to an enumeration type in 7.6.1.9 [expr.static.cast] paragraph 10 does not require that the enumeration type be complete. Should it? (There is variation among implementations.)

History
Date User Action Args
2017-02-06 00:00:00adminsetstatus: drwp -> cd4
2015-05-25 00:00:00adminsetstatus: dr -> drwp
2015-04-13 00:00:00adminsetmessages: + msg5341
2014-11-24 00:00:00adminsetstatus: ready -> dr
2014-03-03 00:00:00adminsetmessages: + msg4807
2014-03-03 00:00:00adminsetstatus: open -> ready
2014-01-16 00:00:00admincreate