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++/51664] comparison incorrectly treated as template instantiation


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

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-23 13:47:04 UTC ---
wasn't the template keyword meant to avoid this ambiguity?  Thus, if x.foo
is a template then you are required to write x.template foo because x is
template dependent?


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