Using ‘void’ template arguments in C++
The short answer is “templates are not string substitution”. void f(void) has meaning only so far as it is an alias for void f() in C++, in order to be backwards compatible with C. The first step is to use variadics, as noted elsewhere. The second step is figuring out how to map void returning … Read more