Created on 2016-02-18.00:00:00 last changed 94 months ago
Rationale (November, 2016):
The specification is as intended.
Consider:
struct A {
template<class T> static int X;
};
template<class T> int A::X = T{};
A{}.X<int>; // error
A::X<int>; // OK
Implementations seem to reject the class member access, despite 7.6.1.5 [expr.ref] bullet 6.1 stating the contrary.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-02-27 00:00:00 | admin | set | messages: + msg6004 |
| 2018-02-27 00:00:00 | admin | set | status: open -> nad |
| 2016-02-18 00:00:00 | admin | create | |