It is a common operation to need to perform a particular function over each element in a parameter pack. With C++11, the best we can do is:
template <class... Ts>
void print_all(std::ostream& os, Ts const&... args) {
using expander = int[];
(void)expander{0,
(void(...