This predicate tells if a class is derived from an other class. More...
#include <is_base_of.hpp>
Public Types | |
enum | { result = ( sizeof(check( m_d )) == sizeof(char) ) } |
Static Private Member Functions | |
static char | check (Base *) |
static long | check (...) |
Static Private Attributes | |
static Derived * | m_d |
This predicate tells if a class is derived from an other class.
Template parameters
The result can be retrieved via the is_base_of::result value.
Definition at line 49 of file is_base_of.hpp.
anonymous enum |
Definition at line 59 of file is_base_of.hpp.
static char claw::meta::is_base_of< Base, Derived >::check | ( | Base * | ) | [static, private] |
static long claw::meta::is_base_of< Base, Derived >::check | ( | ... ) | [static, private] |
Derived* claw::meta::is_base_of< Base, Derived >::m_d [static, private] |
Definition at line 52 of file is_base_of.hpp.