Skip to content

LiteFX::meta::implements

Checks if a type TDerived is derived from another type TBase and is non-abstract.

Synopsis

Declared in <litefx/traits.hpp>

template<
    typename TDerived,
    typename TBase>
concept implements = !std::is_abstract_v<TDerived> && std::derived_from<TDerived, TBase>;

Template Parameters

NameDescription
TDerivedThe type to check.
TBaseThe base type to check against.