This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: template keyword not within a template definition
- From: Philippe Haution <philippe_haution at yahoo dot fr>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 13 Dec 2004 10:59:32 +0100 (CET)
- Subject: Re: template keyword not within a template definition
Hello,
This is not a gcc 3.4 bug, the 'template' keyword used
as a disambiguator is either required or disallowed,
but you cannot use it when it is not necessary and in
your case, it is not. It used to work with previous
versions of gcc because they were lenient about this,
gcc is more rigorous.
The standard wasn't very clear about this, it was
precised in a defect report :
http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_defects.html#30
Regards,
PH
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
Avec Yahoo! faites un don et soutenez le Téléthon en cliquant sur http://www.telethon.fr/030-Don/10-10_Don.asp