8#ifndef LODESTONE_IHASDERIVEDTYPES_H
9#define LODESTONE_IHASDERIVEDTYPES_H
13 template <
typename EType>
20 virtual constexpr EType
type() = 0;
23 return this->
type() == type;
virtual constexpr EType type()=0
bool constexpr instanceOf(const IHasDerivedTypes &inst)
Definition IHasDerivedTypes.h:30
virtual constexpr ~IHasDerivedTypes()=default
bool constexpr instanceOf(const IHasDerivedTypes *inst)
Definition IHasDerivedTypes.h:26
bool constexpr instanceOf(EType type)
Definition IHasDerivedTypes.h:22
constexpr IHasDerivedTypes()=default