Consider the following function:

template <class... Types>
void print (const Types&... values);

How would you define print() to iterate forward from 0..N, where N is
sizeof... (Types), printing each argument X in the argument list (e.g.
std::cout << X)?

Thanks,
Brad.

Reply via email to