All Questions
1 question
4
votes
2
answers
7k
views
Generating function declaration using a macro iteration
I'm trying to generate a function declaration using a macro
/* goal: generate int f(int a, float b) */
template<typename P>
struct ptype;
template<typename P>
struct ptype<void(P)>...