Base class for a unary operator/function. More...
#include <CompileTimeDerivatives.h>
Public Types | |
typedef T::ResultType | ResultType |
Public Member Functions | |
CTUnary (T arg) | |
template<typename Self > | |
std::string | printParens (const Self *, const std::string &op) 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 | _arg |
Base class for a unary operator/function.
Definition at line 135 of file CompileTimeDerivatives.h.
typedef T::ResultType CompileTimeDerivatives::CTUnary< T >::ResultType |
Definition at line 152 of file CompileTimeDerivatives.h.
|
inline |
Definition at line 138 of file CompileTimeDerivatives.h.
|
inlinestaticinherited |
left/right associative property should reflect C++ operator properties exactly
Definition at line 31 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 141 of file CompileTimeDerivatives.h.
Referenced by CompileTimeDerivatives::CTUnaryMinus< T >::print().
|
protected |
Definition at line 155 of file CompileTimeDerivatives.h.
Referenced by CompileTimeDerivatives::CTUnaryMinus< T >::D(), CompileTimeDerivatives::CTUnaryMinus< T >::operator()(), and CompileTimeDerivatives::CTUnary< B >::printParens().