This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16713] call of template member function rejected
- From: "marco at technoboredom dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jul 2004 11:26:53 -0000
- Subject: [Bug c++/16713] call of template member function rejected
- References: <20040726105424.16713.marco@technoboredom.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From marco at technoboredom dot net 2004-07-26 11:26 -------
After getting suspicious on the validity of the code (though accepted by other
compilers), I found that the correct, insane syntax is:
template<class T>
void fail()
{
T::template fail<T>();
}
My regrets.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16713