autoppl  v0.8
A C++ template library for probabilistic programming
ppl::util::BaseCRTP< T > Struct Template Reference

#include <type_traits.hpp>

Inheritance diagram for ppl::util::BaseCRTP< T >:
ppl::util::DistExprBase< T > ppl::util::ModelExprBase< T > ppl::util::VarBase< T > ppl::util::VarExprBase< T > ppl::util::DataBase< T > ppl::util::ParamBase< T > ppl::util::TParamBase< T >

Public Member Functions

T & self ()
 
const T & self () const
 

Detailed Description

template<class T>
struct ppl::util::BaseCRTP< T >

Used for CRTP to unify certain expression types under one name. CRTP types should simply derive from this base class.

Member Function Documentation

◆ self() [1/2]

template<class T >
T& ppl::util::BaseCRTP< T >::self ( )
inline

◆ self() [2/2]

template<class T >
const T& ppl::util::BaseCRTP< T >::self ( ) const
inline

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