F
Felix Kater
Hi,
is it possible to define a function in a way that when calling it I can
insert as many arguments as I want? (I would neither like to define a
function with 50 default arguments nor prepare a pointer array each time
before calling the function and pass the array, though.)
I imagine function calls like this:
f(a,b,c);
f(d,e,f,g,h);
f(a,
f(b,
c,
f(g,h,i),
e,
g,
i,
c);
Felix
is it possible to define a function in a way that when calling it I can
insert as many arguments as I want? (I would neither like to define a
function with 50 default arguments nor prepare a pointer array each time
before calling the function and pass the array, though.)
I imagine function calls like this:
f(a,b,c);
f(d,e,f,g,h);
f(a,
f(b,
c,
f(g,h,i),
e,
g,
i,
c);
Felix