Topic summary
Variadic template

In computer programming, variadic templates or variation generics are templates that take a variable number of type parameters. They exist in several programming languages and are used for the creation of type-safe generics with a variable number of types. They are somewhat similar in nature to variadic functions or variadic macros.
Variadic templates are supported by C++ (since the C++11 standard), and the D programming language. While other languages, such as Java or C# offer support for type-safe variadic functions, they do not offer the variadic generics support like that of C++ and D.