In C++ templates may use to declare to get several version

In here you may find a way to declare a type called Param but not only one strict type.

You may use it with other type names to

And of course, you may create a function that calls himself recursively. But it needs its empty version too.

forward method may be used for possible move constructors.

Sizeof… is a standard method to get the count of the nested arguments.

1 thought on “Variadic Template”

Leave a Reply

Your email address will not be published. Required fields are marked *