More specifically, is it possible in C++11 (or later) to write compile-time type traits for a given type T to determine
- whether 
Tis abstract, i.e. has any pure virtual methods? - whether 
Tis afinalclass? - whether a given member 
FofT(includingT's destructor) can be overridden, i.e. can a subclassSofTdeclareS::Fwithoverride? 
Aucun commentaire:
Enregistrer un commentaire