You would do:
template <typename ...Params>
void f(Params&&... params)
{
y(std::forward<Params>(params)...);
}
The ...
pretty much says "take what's on the left, and for each template parameter, unpack it accordingly."
GMan
2010-05-12 17:31:29