STK++ 0.9.13
STK_ExprBaseOperators.h File Reference
Include dependency graph for STK_ExprBaseOperators.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  STK
 The namespace STK is the main domain space of the Statistical ToolKit project.
 

Macros

#define IMPLEMENT_BINARY_OPERATOR(OPERATORNAME, BINARYOPERATORNAME)
 utility macro allowing to implement binary operators
 

Macro Definition Documentation

◆ IMPLEMENT_BINARY_OPERATOR

#define IMPLEMENT_BINARY_OPERATOR (   OPERATORNAME,
  BINARYOPERATORNAME 
)
Value:
template<class Derived> \
template<typename Rhs> \
inline typename hidden::OperatorSelector<Derived, Rhs, Arrays::BINARYOPERATORNAME>::Result const \
ExprBase<Derived>::OPERATORNAME( ExprBase<Rhs> const& other) const \
{ return hidden::OperatorSelector<Derived, Rhs, Arrays::BINARYOPERATORNAME>::Selector::run(this->asDerived(), other.asDerived());}

utility macro allowing to implement binary operators

Definition at line 41 of file STK_ExprBaseOperators.h.

46{ return hidden::OperatorSelector<Derived, Rhs, Arrays::BINARYOPERATORNAME>::Selector::run(this->asDerived(), other.asDerived());}