I'm (re)designing an API for this library. and there's this function which will take any number of arguments, templated. I can define it to be:
template<typename... Ts>
void foo(bar_t bar, Ts... params);
or, alternatively, to be:
template<typename... Ts>
void foo(bar_t bar, std::tuple<Ts...> params);
I know these two are interchangeable (in both directions):
C++11: I can go from multiple args to tuple, but can I go from tuple to multiple args?
so both options are just as general, but - should I prefer one variant over the other, or is it only a matter of taste / personal style?