Created on 2013-09-12.00:00:00 last changed 130 months ago
Rationale (February, 2014):
CWG felt that the existing wording is clear enough.
According to 6.9.3.2 [basic.start.static] paragraph 2,
A constant initializer for an object o is an expression that is a constant expression, except that it may also invoke constexpr constructors for o and its subobjects even if those objects are of non-literal class types [Note: such a class may have a non-trivial destructor —end note].
This would be clearer if worded as something like,
A constant initializer for an object o is an expression that would be a constant expression if every constexpr constructor invoked for o and its subobjects were a constructor for a literal class type.
History | |||
---|---|---|---|
Date | User | Action | Args |
2014-03-03 00:00:00 | admin | set | messages: + msg4974 |
2014-03-03 00:00:00 | admin | set | status: open -> nad |
2013-09-12 00:00:00 | admin | create |