This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51664] comparison incorrectly treated as template instantiation
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Dec 2011 13:47:04 +0000
- Subject: [Bug c++/51664] comparison incorrectly treated as template instantiation
- Auto-submitted: auto-generated
- References: <bug-51664-4@http.gcc.gnu.org/bugzilla/>
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?