help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Macro: COMMA (again), unable to tokenize


From: tthunder
Subject: Re: Macro: COMMA (again), unable to tokenize
Date: 17 Apr 2007 00:42:44 -0700
User-agent: G2/1.0

I am sorry for sending code with some typing errors. I will try
again ;)

*************

#define COMMA ,


#define EXP_INST_COMMON(x) \
     template class x;


#define EXP_INST_SPECIFIC(x, y) \
     template void someFunc< x >( y ); \
     EXP_INST_COMMON(x)


/* .... */


EXP_INST_SPECIFIC(someClass<int COMMA double>, long)


*************



reply via email to

[Prev in Thread] Current Thread [Next in Thread]