Well it seems silly. I probably won't use it in the long run (just for the time being). I have a function that takes 6 arguments and I #define a small macro for expanding a ton of arguments. Here is an example (not actually from my program):
Code:
#define SETA(x) 2, 4, 3, 5, x, 7
#define SETB(x) 7, 2, 3, 5, x, 9
#define SETC(x) 10, 2, 1, 6, x, 0
int func(int i1, int i2, int i3, int i4, int i5, int i6);
int someotherfunc(int iVar)
{
func( SETA(iVar) );
func( SETB(iVar) );
func( SETC(iVar) );
}
So I'm basically just taking advantage of the expansion capability of the macros.