aimstil
5.0.5
|
Some macros to ease the otherwise tedious and unreadable declaration of template expression classes. More...
Go to the source code of this file.
Macros | |
#define | EXPRFUNC_1ARG(name, body) EXPRFUNC_1ARG_ARG(name, body, i1) |
#define | EXPRFUNC_2ARG(name, body) EXPRFUNC_2ARG_ARG(name, body, i1, i2) |
#define | EXPRFUNC_3ARG(name, body) EXPRFUNC_3ARG_ARG(name, body, i1, i2, i3) |
#define | TIL_COMMA , |
#define | EXPRFUNC_1ARG_RET(name, body, ret) EXPRFUNC_1ARG_FULL(name, body, ret, i1) |
#define | EXPRFUNC_2ARG_RET(name, body, ret) EXPRFUNC_2ARG_FULL(name, body, ret, i1, i2) |
#define | EXPRFUNC_3ARG_RET(name, body, ret) EXPRFUNC_3ARG_FULL(name, body, ret, i1, i2, i3) |
#define | EXPRFUNC_1ARG_ARG(name, body, arg1) EXPRFUNC_1ARG_FULL(name, body, typename TypeStruct<Iterator1>::Type, arg1) |
#define | EXPRFUNC_2ARG_ARG(name, body, arg1, arg2) EXPRFUNC_2ARG_FULL(name, body, typename TypeStruct<Iterator1 TIL_COMMA Iterator2>::Type, arg1, arg2) |
#define | EXPRFUNC_3ARG_ARG(name, body, arg1, arg2, arg3) EXPRFUNC_3ARG_FULL(name, body, typename TypeStruct<Iterator1 TIL_COMMA Iterator2 TIL_COMMA Iterator3>::Type, arg1, arg2, arg3) |
#define | EXPRFUNC_1ARG_FULL(name, body, ret, arg1) |
#define | EXPRFUNC_2ARG_FULL(name, body, ret, arg1, arg2) |
#define | EXPRFUNC_3ARG_FULL(name, body, ret, arg1, arg2, arg3) |
#define | EXPR_RESULT_TYPE(rettype) |
Used to define the return type of template expresions. More... | |
#define | EXPR_ITERATORTYPE(rettype) |
Some macros to ease the otherwise tedious and unreadable declaration of template expression classes.
Definition in file TExprMacros.h.
#define EXPR_ITERATORTYPE | ( | rettype | ) |
Definition at line 65 of file TExprMacros.h.
#define EXPR_RESULT_TYPE | ( | rettype | ) |
Used to define the return type of template expresions.
The return type of a template expression is accessible via X::TypeStruct<Iterator1,Iterator2,Iterator3>::Type
Definition at line 58 of file TExprMacros.h.
#define EXPRFUNC_1ARG | ( | name, | |
body | |||
) | EXPRFUNC_1ARG_ARG(name, body, i1) |
Definition at line 12 of file TExprMacros.h.
Referenced by til::expr::TExpr< Expr >::getExpr().
#define EXPRFUNC_1ARG_ARG | ( | name, | |
body, | |||
arg1 | |||
) | EXPRFUNC_1ARG_FULL(name, body, typename TypeStruct<Iterator1>::Type, arg1) |
Definition at line 24 of file TExprMacros.h.
Referenced by til::expr::TExprLValue< T >::TExprLValue().
#define EXPRFUNC_1ARG_FULL | ( | name, | |
body, | |||
ret, | |||
arg1 | |||
) |
Definition at line 29 of file TExprMacros.h.
#define EXPRFUNC_1ARG_RET | ( | name, | |
body, | |||
ret | |||
) | EXPRFUNC_1ARG_FULL(name, body, ret, i1) |
Definition at line 20 of file TExprMacros.h.
#define EXPRFUNC_2ARG | ( | name, | |
body | |||
) | EXPRFUNC_2ARG_ARG(name, body, i1, i2) |
Definition at line 13 of file TExprMacros.h.
Referenced by til::expr::TExpr< Expr >::getExpr().
#define EXPRFUNC_2ARG_ARG | ( | name, | |
body, | |||
arg1, | |||
arg2 | |||
) | EXPRFUNC_2ARG_FULL(name, body, typename TypeStruct<Iterator1 TIL_COMMA Iterator2>::Type, arg1, arg2) |
Definition at line 25 of file TExprMacros.h.
Referenced by til::expr::TExprLValue< T >::TExprLValue().
#define EXPRFUNC_2ARG_FULL | ( | name, | |
body, | |||
ret, | |||
arg1, | |||
arg2 | |||
) |
Definition at line 37 of file TExprMacros.h.
#define EXPRFUNC_2ARG_RET | ( | name, | |
body, | |||
ret | |||
) | EXPRFUNC_2ARG_FULL(name, body, ret, i1, i2) |
Definition at line 21 of file TExprMacros.h.
Referenced by til::expr::SecondArgument::operator()().
#define EXPRFUNC_3ARG | ( | name, | |
body | |||
) | EXPRFUNC_3ARG_ARG(name, body, i1, i2, i3) |
Definition at line 14 of file TExprMacros.h.
Referenced by til::expr::TExpr< Expr >::getExpr().
#define EXPRFUNC_3ARG_ARG | ( | name, | |
body, | |||
arg1, | |||
arg2, | |||
arg3 | |||
) | EXPRFUNC_3ARG_FULL(name, body, typename TypeStruct<Iterator1 TIL_COMMA Iterator2 TIL_COMMA Iterator3>::Type, arg1, arg2, arg3) |
Definition at line 26 of file TExprMacros.h.
Referenced by til::expr::TExprLValue< T >::TExprLValue().
#define EXPRFUNC_3ARG_FULL | ( | name, | |
body, | |||
ret, | |||
arg1, | |||
arg2, | |||
arg3 | |||
) |
Definition at line 45 of file TExprMacros.h.
#define EXPRFUNC_3ARG_RET | ( | name, | |
body, | |||
ret | |||
) | EXPRFUNC_3ARG_FULL(name, body, ret, i1, i2, i3) |
Definition at line 22 of file TExprMacros.h.
Referenced by til::expr::SecondArgument::operator()(), and til::expr::ThirdArgument::operator()().
#define TIL_COMMA , |
Definition at line 16 of file TExprMacros.h.