http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50870
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2011-10-26 CC|paolo.carlini at oracle dot | |com | Resolution|FIXED | AssignedTo|unassigned at gcc dot |paolo.carlini at oracle dot |gnu.org |com Target Milestone|4.7.0 |4.6.3 Summary|[C++0x] ICE with decltype, |[C++0x] [4.6/4.7 |operator->, and default |Regression] ICE with |template arguments |decltype, operator->, and | |default template arguments Ever Confirmed|0 |1 --- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-26 22:10:11 UTC --- 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;