3#ifndef pRC_CORE_BASIC_CRTP_H
4#define pRC_CORE_BASIC_CRTP_H
14 constexpr operator T()
const
33 constexpr decltype(
auto)
self() &
35 return static_cast<T &
>(*this);
38 constexpr decltype(
auto)
self()
const &
40 return static_cast<T const &
>(*this);
constexpr CRTP(CRTP const &)=default
constexpr CRTP()
Definition crtp.hpp:27
T Derived
Definition crtp.hpp:19
constexpr decltype(auto) self() const &
Definition crtp.hpp:38
constexpr decltype(auto) self() &
Definition crtp.hpp:33
constexpr CRTP & operator=(CRTP &&) &=default
constexpr CRTP & operator=(CRTP const &) &=default
constexpr CRTP(CRTP &&)=default
Definition cholesky.hpp:18
static constexpr Conditional< IsSatisfied< C >, RemoveConstReference< X >, X > copy(X &&a)
Definition copy.hpp:13