This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]