Created on 2014-06-12.00:00:00 last changed 90 months ago
Proposed resolution:
This wording is relative to N3936.
Change Table 57 — "Other transformations" as indicated:
Table 3 — Other type transformations Template Condition Comments … template <class T>
struct underlying_type;T shall be a complete anenumeration type (7.2)[…]
[ 2014-06-16 Rapperswil ]
Move to Ready
Consider:
enum E { e = std::underlying_type<E>::type(1) };
Clearly this should be ill-formed, but the library section doesn't appear to ban it. Suggestion:
Change in [meta.trans.other] Table 57:Template: template<class T> struct underlying_type;
Condition: T shall be a completeanenumeration type (7.2) Comments: […]
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-07-30 20:15:43 | admin | set | status: wp -> c++17 |
2014-11-08 19:44:42 | admin | set | status: voting -> wp |
2014-11-04 10:26:50 | admin | set | status: ready -> voting |
2014-06-16 23:41:12 | admin | set | messages: + msg7051 |
2014-06-16 23:41:12 | admin | set | status: new -> ready |
2014-06-12 18:42:06 | admin | set | messages: + msg7023 |
2014-06-12 00:00:00 | admin | create |