This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115f. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2024-12-06
[Voted into WP at March, 2010 meeting.]
12.5 [over.built] paragraphs 24-25 describe the imaginary built-in conditional operator functions. However, neither paragraph 24 (promoted arithmetic types) nor 25 (pointer and pointer-to-member types) covers scoped enumerations, whose values should be usable in conditional expressions.
(See also issue 835.)
Proposed resolution (October, 2009):
Change 12.5 [over.built] paragraph 25 as follows:
For every type T, where T is a pointer,
orpointer-to-member, or scoped enumeration type, there exist candidate operator functions of the formT operator?(bool, T , T );