All Questions
1 question
0
votes
1
answer
93
views
Passing an arbitrary number of args to a function
So basically, I would like to redefine this part of code using macros,
switch(count) {
case 0:
variadic();
case 1:
variadic(array[0]);
case 2;
variadic(array[0], array[1]);
case 3:
variadic(...