class Log
{
public:
Log();
~Log();
template <typename T>
static void i(const T& t) {
cout << t << endl;
}
{
public:
Log();
~Log();
template <typename T>
static void i(const T& t) {
cout << t << endl;
}
template <typename T, typename ... Args>
static void i(const T& t, Args ... args) {
cout << t << " ";
i(args...);
}
static void i(const T& t, Args ... args) {
cout << t << " ";
i(args...);
}
};
int main() {
Log::i("hello", "world", 123, "yemao");
return 0;
}
}