jeudi 22 mars 2018

With C++ type-traits, is there some way to avoid casting

Say I use C++ type-traits in template to check if T is double, is there some way I can treat variables of type T as double, without doing a cast?

Aucun commentaire:

Enregistrer un commentaire