I would like to determine if a class has overrode a function signature. Is that possible to do using c++11 template metaprogramming?
Example:
struct A
{
void x() {}
};
struct B : A
{
void x() {}
};
struct C : A
{
};
I would like to test structs B
and C
to see if they have function void x()
implemented.
Aucun commentaire:
Enregistrer un commentaire