Quantcast
Channel: Cpp11 – On C++ and other OOPscenities
Viewing all articles
Browse latest Browse all 23

C++11: Variadic templates (functions)

$
0
0
A very interesting C++0x feature are the “variadic templates” that, in short, are template classes and functions with a variable number of parameterized types. They can be useful to do several things, for example: Provide type-safe replacements for functions with variable number of arguments (stdarg.h) Let the user to create instances of n-tuples. Create type-safe […]

Viewing all articles
Browse latest Browse all 23

Trending Articles