This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17238] explicit qualification of member template is rejected
- From: "philippe dot haution at mines-paris dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Aug 2004 12:28:32 -0000
- Subject: [Bug c++/17238] explicit qualification of member template is rejected
- References: <20040830112040.17238.philippe.haution@mines-paris.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From philippe dot haution at mines-paris dot org 2004-08-30 12:28 -------
I don't think my 'template' keyword was illegal, gcc 3.2 accepts it, moreover my
code must work on Solaris and Sun's CC demands tuis syntax otherwise '<' before
'string' is understood as less than.
Does the C++ standard explicitly state that 'template' is allowed to qualify
member templates only when called on an object which is itself a template ?
Stroustrup's book is unclear about it. In that case, the bug would be in Sun's CC.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17238