Template Struct t8_crtp_basic
Defined in File t8_crtp.hxx
Inheritance Relationships
Derived Types
public t8_scheme_helpers< TEclass, t8_standalone_scheme< TEclass > >(Template Struct t8_scheme_helpers)public t8_mesh_handle::element_data_element_competence< TUnderlying >(Template Struct element_data_element_competence)public t8_mesh_handle::element_data_mesh_competence_impl< TUnderlying, TElementDataType >(Template Class element_data_mesh_competence_impl)
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 > >, t8_mesh_handle::element_data_element_competence< TUnderlying >, t8_mesh_handle::element_data_mesh_competence_impl< TUnderlying, TElementDataType >
Public Functions
-
inline constexpr TUnderlying &underlying() noexcept
Get the underlying type.
-
inline constexpr const TUnderlying &underlying() const noexcept
Get the underlying type.