http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52529
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-03-08 09:28:13 UTC --- (In reply to comment #1) > A<M>().foo<T>(x); > Should be: > A<M>().template foo<T>(x); This is a FAQ http://womble.decadent.org.uk/c++/template-faq.html#disambiguation