This is the mail archive of the gcc-prs@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: preprocessor/9689: Number: 9688 update : pasting "<" and"ValidStruct" does not give a valid preprocessing token


The following reply was made to PR preprocessor/9689; it has been noted by GNATS.

From: Zack Weinberg <zack@codesourcery.com>
To: ediaz@veridis.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: preprocessor/9689: Number: 9688 update : pasting "<" and
 "ValidStruct" does not give a valid preprocessing token
Date: Thu, 13 Feb 2003 08:56:00 -0800

 ediaz@veridis.com writes:
 
 >
 > #define CM(x)								\
 > template<>								\
 > class C < ##x >							\
 
 This is a shining example of a totally unnecessary use of ##.  Just
 remove it and your code will work.
 
 zw
 


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