cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | List of all members
pRC::CRTP< T > Class Template Reference

#include <crtp.hpp>

Public Types

using Derived = T
 

Public Member Functions

constexpr operator T () const
 
constexpr decltype(autoself () &
 
constexpr decltype(autoself () const &
 

Protected Member Functions

 ~CRTP ()=default
 
constexpr CRTP (CRTP const &)=default
 
constexpr CRTP (CRTP &&)=default
 
constexpr CRTPoperator= (CRTP const &) &=default
 
constexpr CRTPoperator= (CRTP &&) &=default
 
constexpr CRTP ()
 

Member Typedef Documentation

◆ Derived

template<class T >
using pRC::CRTP< T >::Derived = T

Constructor & Destructor Documentation

◆ ~CRTP()

template<class T >
pRC::CRTP< T >::~CRTP ( )
protecteddefault

◆ CRTP() [1/3]

template<class T >
constexpr pRC::CRTP< T >::CRTP ( CRTP< T > const & )
constexprprotecteddefault

◆ CRTP() [2/3]

template<class T >
constexpr pRC::CRTP< T >::CRTP ( CRTP< T > && )
constexprprotecteddefault

◆ CRTP() [3/3]

template<class T >
constexpr pRC::CRTP< T >::CRTP ( )
inlineconstexprprotected

Member Function Documentation

◆ operator T()

template<class T >
constexpr pRC::CRTP< T >::operator T ( ) const
inlineconstexpr

◆ operator=() [1/2]

template<class T >
constexpr CRTP & pRC::CRTP< T >::operator= ( CRTP< T > && ) &
constexprprotecteddefault

◆ operator=() [2/2]

template<class T >
constexpr CRTP & pRC::CRTP< T >::operator= ( CRTP< T > const & ) &
constexprprotecteddefault

◆ self() [1/2]

template<class T >
constexpr decltype(auto) pRC::CRTP< T >::self ( ) &
inlineconstexpr

◆ self() [2/2]

template<class T >
constexpr decltype(auto) pRC::CRTP< T >::self ( ) const &
inlineconstexpr

The documentation for this class was generated from the following file: