An Introduction to Variadic Templates
Familiarize yourself with the topics we'll cover related to variadic templates.
We'll cover the following
A variadic template is a template with a variable number of arguments. This is a feature that was introduced in C++11. It combines generic code with functions having variable numbers of arguments, a feature that was inherited from the C language. Although the syntax and some details could be seen as cumbersome, variadic templates help us write function templates with a variable number of arguments or class templates with a variable number of data members in a way that was not possible before with compile-time evaluation and type safety.
Overview of variadic templates
In this section, we’ll learn about the following topics:
Get hands-on with 1400+ tech skills courses.