vendredi 31 juillet 2015

Are all template instantiations created at compile time?

After learning about variadic function templates that use recursion, I am wondering:

Are all template instantiations that can possibly be needed during the program's execution created at compile time? Is there such thing as instantiation on-the-fly?

Aucun commentaire:

Enregistrer un commentaire