|
constexpr const Derived & | derived () const noexcept |
| Up-casts the this pointer to a const lvalue reference to Derived .
|
|
constexpr Derived & | derived () noexcept |
| Up-casts the this pointer to a lvalue reference to Derived .
|
|
constexpr | CRTPBase () noexcept |
| Default constructor, performing compile-time checks.
|
|
| CRTPBase (const CRTPBase &)=default |
| Defaulted copy-constructor.
|
|
CRTPBase & | operator= (const CRTPBase &)=default |
| Defaulted copy-assignment operator.
|
|
| CRTPBase (CRTPBase &&)=default |
| Defaulted move-constructor.
|
|
CRTPBase & | operator= (CRTPBase &&)=default |
| Defaulted move-assignment operator.
|
|
| ~CRTPBase ()=default |
| Defaulted destructor.
|
|
constexpr bool | operator== (const CRTPBase &) const noexcept=default |
| Defaulted equality operator.
|
|
template<concepts::unqualified Derived, class Disambiguity = void>
class sl::CRTPBase< Derived, Disambiguity >
Utility type, which can be used as a base class for the crtp pattern.
- Template Parameters
-
Derived | The derived type. |
Disambiguity | In cases of multiple inheritance, this param can be used to disambiguity the base class. |