yes, that is true if there is an assumed repeating pattern to the types passed. however it may well still be preferable, even if arguably marginally less convenient, to pass a vector of structs.
just yesterday i made a polynomial function that uses a variable argument constructor, where the constructor arguments go: unsigned int order, int exp1,double coeff1,...int expn,double coeffn
and what did i end up having to do immediately thereafter?
declaring
Code:
struct ecpair{int exp;double coeff;}
within the body of polynomial to store the data in a vector. in then end it would have been vetter to just pass a vector<polynomial::ecpair>
the only thing i can really see variable argument functions providing unique functionality is is where the first argument is a typelist, as then there need be no pattern, but then my compiler doesn't match the function so it doesn't work anyway. :\