Template Struct t8_crtp_operator
Defined in File t8_operators.hxx
Struct Documentation
-
template<typename TUnderlying, template<typename> class crtpType>
struct t8_crtp_operator The CRTP pattern for operators.
Note
There is also the basic CRTP pattern t8_crtp_basic without nested templates in t8_crtp.hxx. Use this pattern only if the nested templates are needed.
- Template Parameters:
TUnderlying – The Underlying type.
crtpType – The type to add via CRTP.
Public Functions
-
inline constexpr TUnderlying &underlying() noexcept
Get the underlying type.
-
inline constexpr const TUnderlying &underlying() const noexcept
Get the underlying type.