¡@

Home 

c++ Programming Glossary: ptype

Generating function declaration using a macro iteration

http://stackoverflow.com/questions/5355241/generating-function-declaration-using-a-macro-iteration

generate int f int a float b template typename P struct ptype template typename P struct ptype void P typedef P type #define.. typename P struct ptype template typename P struct ptype void P typedef P type #define NAMEe #define COMMAe #define COMMA.. #define PARAM_ITER P P NAME #define PROTO R N P ptype void R type N PARAM_ITER P e PROTO int f int a float b It will..