Karma Engine
|
#include <SubClassOf.h>
Public Types | |
typedef char | No[1] |
typedef char | Yes[2] |
Static Public Member Functions | |
static Yes & | Test (BaseType *) |
static Yes & | Test (const BaseType *) |
static No & | Test (...) |
static DerivedType * | DerivedTypePtr () |
Static Public Attributes | |
static constexpr bool | Value = sizeof(Test(DerivedTypePtr())) == sizeof(Yes) |
static constexpr bool | IsDerived = Value |
Is type DerivedType inherited from BaseType.