Template Struct t8_crtp_basic

Inheritance Relationships

Derived Types

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.