#include <iostream>
template <typename T>
void bar(T t) { std::cout << t << '\n'; }
void foo2() {}
template <typename Car, typename... Cdr>
void foo2(Car car, Cdr... cdr)
{
bar(car);
foo2(cdr...);
}
int main()
{
foo2 (1, 2, 3, "3");
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdGVtcGxhdGUgPHR5cGVuYW1lIFQ+CnZvaWQgYmFyKFQgdCkgeyBzdGQ6OmNvdXQgPDwgdCA8PCAnXG4nOyB9Cgp2b2lkIGZvbzIoKSB7fQoKdGVtcGxhdGUgPHR5cGVuYW1lIENhciwgdHlwZW5hbWUuLi4gQ2RyPgp2b2lkIGZvbzIoQ2FyIGNhciwgQ2RyLi4uIGNkcikKewogIGJhcihjYXIpOwogIGZvbzIoY2RyLi4uKTsKfQoKaW50IG1haW4oKQp7CiAgZm9vMiAoMSwgMiwgMywgIjMiKTsKfQ==