Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

template<typename Base, typename Derived>
struct Enlighten::InputLightingValidation::IsBaseOf

Checks for inheritance.

Variables

NameDescription
const bool Value = sizeof(Op(Host<Base,Derived>(), int())) == sizeof(yes)

Value.

Functions

NameDescription
Op(Derived *, T)

Yes.

Op(Base *, int)

No.


Anchor
a81d9781f11ae01965536c0282a9e06fa
a81d9781f11ae01965536c0282a9e06fa

static yes Enlighten::InputLightingValidation::IsBaseOf< Base, Derived >::Op

...

public: yes Op
(
    Derived * ,
    T
)

...

Yes.


Anchor
a9eedea2f67503ff1ab79f595fa014447
a9eedea2f67503ff1ab79f595fa014447

static no Enlighten::InputLightingValidation::IsBaseOf< Base, Derived >::Op

...

public: no Op
(
    Base * ,
    int
)

...

No.