Created on 2014-08-22.00:00:00 last changed 122 months ago
Rationale (November, 2014):
The interpretation is correct and the implementations are incorrect.
Given an example like
struct X { static constexpr const char *p = "foo"; }; static const char *q = X::p;
if this appears in more than one translation unit, must the value of q be the same in each? The implication of the one-definition rule would be that it must be, but current implementations do not give that result.
History | |||
---|---|---|---|
Date | User | Action | Args |
2014-11-24 00:00:00 | admin | set | messages: + msg5288 |
2014-08-22 00:00:00 | admin | create |