Variadic templates

From Yefu's notes
Jump to: navigation, search

Variadic templates is different from stdarg.h (va_start, va_arg, va_end) in that, the latter C version requires knowing the types of the parameters in advance. That is why printf requires those ugly characters (%d, %f, %s, etc) as the first argument.