Created on 2013-08-13.00:00:00 last changed 94 months ago
[Adopted at the October, 2015 meeting as P0136R1.]
A local class cannot, according to 13.7.3 [temp.mem] paragraph 2, have member templates. Presumably, then, an example like the following is ill-formed:
struct S { template<class T> S(T) { struct L: S { using S::S; }; } };
It is accepted by current implementations, however. Does something need to be said about this case in _N4527_.12.9 [class.inhctor], either to explicitly allow or forbid it, or is the restriction in 13.7.3 [temp.mem] sufficient?
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-02-06 00:00:00 | admin | set | status: dr -> cd4 |
2015-11-10 00:00:00 | admin | set | status: drafting -> dr |
2013-10-14 00:00:00 | admin | set | status: open -> drafting |
2013-08-13 00:00:00 | admin | create |