Is it possible to get the class type
struct A{
DEFINE_CLASS_NAME();
};
such that there is a type A::Type
which is A
again. Restrictions the macro DEFINE_CLASS_NAME
should not have ANY Argument. This is a hypothetical question, if it is possible to access the type in class scope with declval and decltype somehow...
Aucun commentaire:
Enregistrer un commentaire