I have template function that get variadic templates as (for example) as (int, int, double)
template<class... Arg>
void
bubble(const Arg &...arg)
{ another_function(arg...); }
Inside the function, I must call with a different order of parameters (double, int, int)
. How can I implement this?