Variable value, referencing a variable of type T. More...
#include <CompileTimeDerivatives.h>
Public Types | |
typedef CTCleanType< T > | ResultType |
Public Member Functions | |
CTRef (const T &ref) | |
const T & | operator() () const |
std::string | print () const |
template<CTTag dtag> | |
auto | D () const |
Static Public Member Functions | |
static constexpr int | precedence () |
precedence should reflect C++ operator precedence exactly (higher is binding tighter) More... | |
static constexpr bool | leftAssociative () |
left/right associative property should reflect C++ operator properties exactly More... | |
Protected Attributes | |
const T & | _ref |
Variable value, referencing a variable of type T.
This object is tagged with a CTTag to enable taking symbolic derivatives.
Definition at line 340 of file CompileTimeDerivatives.h.
typedef CTCleanType<T> CompileTimeDerivatives::CTRef< tag, T >::ResultType |
Definition at line 356 of file CompileTimeDerivatives.h.
|
inline |
Definition at line 343 of file CompileTimeDerivatives.h.
|
inline |
Definition at line 348 of file CompileTimeDerivatives.h.
|
inlinestaticinherited |
left/right associative property should reflect C++ operator properties exactly
Definition at line 31 of file CompileTimeDerivatives.h.
|
inline |
Definition at line 344 of file CompileTimeDerivatives.h.
|
inlinestaticinherited |
precedence should reflect C++ operator precedence exactly (higher is binding tighter)
Definition at line 29 of file CompileTimeDerivatives.h.
|
inline |
Definition at line 345 of file CompileTimeDerivatives.h.
|
protected |
Definition at line 359 of file CompileTimeDerivatives.h.
Referenced by CompileTimeDerivatives::CTRef< tag, T >::operator()().