template keyword not within a template definition

Philippe Haution philippe_haution@yahoo.fr
Mon Dec 13 09:59:00 GMT 2004


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



More information about the Gcc-help mailing list