This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52529] Compiler rejects template code inconsistently


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52529

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-08 08:25:48 UTC ---
    A<M>().foo<T>(x);
Should be:
    A<M>().template foo<T>(x);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]