lundi 2 janvier 2017

Identifying whether a template argument is std::complex

How to identify whether a template parameter is std:: complex? I want a general method which supports all data types like float, double, int, etc. I know that using std::is_same I can check specifically for a given type, for example, "std::complex". But here I require a general method.

Aucun commentaire:

Enregistrer un commentaire