C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
exprtk::details::add_op< T > Struct Template Reference

#include <exprtk.hpp>

Inheritance diagram for exprtk::details::add_op< T >:
[legend]
Collaboration diagram for exprtk::details::add_op< T >:
[legend]

Public Types

typedef opr_base< T >::Type Type
typedef opr_base< T >::RefType RefType
Public Types inherited from exprtk::details::opr_base< T >
typedef details::functor_t< T >::Type Type
typedef details::functor_t< T >::RefType RefType
typedef details::functor_t< T > functor_t
typedef functor_t::qfunc_t quaternary_functor_t
typedef functor_t::tfunc_t trinary_functor_t
typedef functor_t::bfunc_t binary_functor_t
typedef functor_t::ufunc_t unary_functor_t

Static Public Member Functions

static T process (Type t1, Type t2)
static T process (Type t1, Type t2, Type t3)
static void assign (RefType t1, Type t2)
static expression_node< T >::node_type type ()
static details::operator_type operation ()

Detailed Description

template<typename T>
struct exprtk::details::add_op< T >

Definition at line 15769 of file exprtk.hpp.

Member Typedef Documentation

◆ RefType

template<typename T>
typedef opr_base<T>::RefType exprtk::details::add_op< T >::RefType

Definition at line 15772 of file exprtk.hpp.

◆ Type

template<typename T>
typedef opr_base<T>::Type exprtk::details::add_op< T >::Type

Definition at line 15771 of file exprtk.hpp.

Member Function Documentation

◆ assign()

template<typename T>
void exprtk::details::add_op< T >::assign ( RefType t1,
Type t2 )
inlinestatic

Definition at line 15776 of file exprtk.hpp.

◆ operation()

template<typename T>
details::operator_type exprtk::details::add_op< T >::operation ( )
inlinestatic

Definition at line 15778 of file exprtk.hpp.

15778{ return details::e_add; }

References exprtk::details::e_add.

◆ process() [1/2]

template<typename T>
T exprtk::details::add_op< T >::process ( Type t1,
Type t2 )
inlinestatic

Definition at line 15774 of file exprtk.hpp.

15774{ return t1 + t2; }

◆ process() [2/2]

template<typename T>
T exprtk::details::add_op< T >::process ( Type t1,
Type t2,
Type t3 )
inlinestatic

Definition at line 15775 of file exprtk.hpp.

15775{ return t1 + t2 + t3; }

◆ type()

template<typename T>
expression_node< T >::node_type exprtk::details::add_op< T >::type ( )
inlinestatic

Definition at line 15777 of file exprtk.hpp.

15777{ return expression_node<T>::e_add; }

References exprtk::details::expression_node< T >::e_add.


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