This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 110b. See for the official list.


1739. Conversion of floating point to enumeration

Section:  [expr.static.cast]     Status: C++14     Submitter: Ville Voutilainen     Date: 2013-08-18

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

The specification of conversion from integral or enumeration type in [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.

Proposed resolution (January, 2014):

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

...A value of floating-point type can also be explicitly converted to an enumeration type...