As titlte says, in C++11, how can I declare a template that only accepts numbers(int,long,float and double) and strings?
template<typename T> class CustomClass { public: T data; };
Aucun commentaire:
Enregistrer un commentaire