This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Problem with macro params containing commas
- From: Jean-Eric Cuendet <jec at rptec dot ch>
- To: libstdc++ at gcc dot gnu dot org
- Date: 14 Aug 2003 18:10:39 +0200
- Subject: Problem with macro params containing commas
- Organization: Riskpro Technologies SA
Hi,
I'd like to pass params that contains commas to a macro.
But the macro think that the passed param is 2 parts (separated by the
inner macro). It's normal, but not what I want...
Is there a way to do it differently?
Thanks
-jec
#define MACRO_PARAM_1 <class First,class Second>
#define MACRO_PARAM_2 Fn_Pair<First,Second>
FN_DEFINE_TEMPLATE_CLASS_METHODS( MACRO_PARAM_1, MACRO_PARAM_2, Fn_Kind,
Fn_Pair_CLASS_ID );
--
Jean-Eric Cuendet
Riskpro Technologies SA
Av du 14 avril 1b, 1020 Renens Switzerland
Principal: +41 21 637 0110 Fax: +41 21 637 01 11
Direct: +41 21 637 0123
E-mail: jean-eric.cuendet@rptec.ch
http://www.rptec.ch
--------------------------------------------------------