Template Struct t8_crtp_basic
Defined in File t8_crtp.hxx
Inheritance Relationships
Derived Type
public t8_scheme_helpers< TEclass, t8_standalone_scheme< TEclass > >(Template Class t8_scheme_helpers)
Struct Documentation
-
template<typename TUnderlying>
struct t8_crtp_basic The basic CRTP pattern.
Note
There is also a CRTP pattern for operators t8_crtp_operator in t8_operators.hxx.
- Template Parameters:
TUnderlying – The Underlying type.
Subclassed by t8_scheme_helpers< TEclass, t8_standalone_scheme< TEclass > >
Public Functions
-
inline constexpr TUnderlying &underlying() noexcept
Get the underlying type.
-
inline constexpr const TUnderlying &underlying() const noexcept
Get the underlying type.