aimstil  5.0.5
til::expr::TExprUnaryOperator< Expr, UnaryFunctor > Class Template Reference

Apply a unary numerical functor to a template expression. More...

#include <til/TExprConcatenation.h>

Public Member Functions

 EXPR_RESULT_TYPE (typename UnaryFunctor::template TypeStruct< typename naked_type< typename Expr::template TypeStruct< Iterator1 TIL_COMMA Iterator2 TIL_COMMA Iterator3 >::Type >::type >::Type)
 
 TExprUnaryOperator (const Expr &e, const UnaryFunctor &functor)
 
 EXPRFUNC_1ARG (operator(), return m_functor(m_e(i1));)
 
 EXPRFUNC_2ARG (operator(), return m_functor(m_e(i1, i2));)
 
 EXPRFUNC_3ARG (operator(), return m_functor(m_e(i1, i2, i3));)
 

Detailed Description

template<typename Expr, typename UnaryFunctor>
class til::expr::TExprUnaryOperator< Expr, UnaryFunctor >

Apply a unary numerical functor to a template expression.

Definition at line 61 of file TExprConcatenation.h.

Constructor & Destructor Documentation

◆ TExprUnaryOperator()

template<typename Expr , typename UnaryFunctor >
til::expr::TExprUnaryOperator< Expr, UnaryFunctor >::TExprUnaryOperator ( const Expr &  e,
const UnaryFunctor &  functor 
)
inline

Member Function Documentation

◆ EXPR_RESULT_TYPE()

template<typename Expr , typename UnaryFunctor >
til::expr::TExprUnaryOperator< Expr, UnaryFunctor >::EXPR_RESULT_TYPE ( typename UnaryFunctor::template TypeStruct< typename naked_type< typename Expr::template TypeStruct< Iterator1 TIL_COMMA Iterator2 TIL_COMMA Iterator3 >::Type >::type >::Type  )

◆ EXPRFUNC_1ARG()

◆ EXPRFUNC_2ARG()

◆ EXPRFUNC_3ARG()


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