Created on 2012-01-02.00:00:00 last changed 131 months ago
[Moved to DR at the October, 2012 meeting.]
Proposed resolution (February, 2012):
Change 6.8 [basic.types] paragraph 10 as follows:
A type is a literal type if it is:
...
a class type (Clause 11 [class]) that has all the following properties:
...
all of its non-static data members and base classes are of non-volatile literal types.
Can a literal class have a volatile member? For example,
struct S { constexpr S() : n(0) { } volatile int n; }; constexpr S s; // causes volatile write to S::n
History | |||
---|---|---|---|
Date | User | Action | Args |
2014-03-03 00:00:00 | admin | set | status: drwp -> cd3 |
2013-05-03 00:00:00 | admin | set | status: dr -> drwp |
2012-11-03 00:00:00 | admin | set | messages: + msg4120 |
2012-11-03 00:00:00 | admin | set | status: ready -> dr |
2012-02-27 00:00:00 | admin | set | messages: + msg3692 |
2012-01-02 00:00:00 | admin | create |