Title
Conversion of floating point to enumeration
Status
c++14
Section
7.6.1.9 [expr.static.cast]
Submitter
Ville Voutilainen

Created on 2013-08-18.00:00:00 last changed 122 months ago

Messages

Date: 2014-02-15.00:00:00

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

Date: 2014-01-15.00:00:00

Proposed resolution (January, 2014):

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

...A value of floating-point type can also be explicitly converted to an enumeration type...
Date: 2013-08-18.00:00:00

The specification of conversion from integral or enumeration type in 7.6.1.9 [expr.static.cast] paragraph 10 uses the phrase “explicitly converted,” while the description of conversion from floating point to enumeration omits the word “explicitly.” Presumably these should be harmonized.

History
Date User Action Args
2014-11-24 00:00:00adminsetstatus: dr -> c++14
2014-03-03 00:00:00adminsetmessages: + msg4943
2014-03-03 00:00:00adminsetstatus: tentatively ready -> dr
2014-01-20 00:00:00adminsetmessages: + msg4723
2014-01-20 00:00:00adminsetstatus: drafting -> tentatively ready
2013-10-14 00:00:00adminsetstatus: open -> drafting
2013-08-18 00:00:00admincreate