------- Comment #1 from rguenth at gcc dot gnu dot org 2007-03-05 13:27 ------- Your code is invalid. Valid is
class X; template <typename T_> int X::* const * f1 () { return static_cast<T_*>(0); } int X::* const * f2 () { return f1<int X::* const>(); } -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31042