jeudi 10 juin 2021

How are the C++11 variadic templates used in practice?

I recently came across the topic of C++11 variadic templates, and I'm wondering in what situations are they actually used? Are they primarily intended for recursion, where the number of parameters can vary (or is unknown)? Are there any other use cases apart from recursion?

Aucun commentaire:

Enregistrer un commentaire