http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50870
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dodji at gcc dot gnu.org --- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> 2011-10-28 19:41:40 UTC --- (In reply to comment #3) > Uhhm, let's reopen this: first it's a 4.6 Regression too, second we are still > not Ok for impl template, eg: > > template <class V> > struct impl > { > template <class T> static T create(); > }; > > template <class T, class U, class V, class > = decltype(impl<V>::template create<T>() > -> impl<V>::template create<U>())> > struct tester { }; > > tester<impl<float>*, int, float> ti; It is caused by revision 166179: http://gcc.gnu.org/ml/gcc-cvs/2010-11/msg00065.html