#include "sysc/kernel/sc_lambda_exps.h"マクロ定義 | |
| #define | L_DECL1(op, rator, ty1, exp1) |
| #define | L_DECL1SPEC(op, ty1, code) |
| #define | L_DECL2(op, rator, ty1, ty2, exp1, exp2) |
| #define | L_DECL2SPEC(op, ty1, ty2, code) |
| #define L_DECL1 | ( | op, | |||
| rator, | |||||
| ty1, | |||||
| exp1 | ) |
値:
inline \ sc_lambda_ptr \ operator op( ty1 s1 ) \ { \ return new sc_lambda( rator, \ new sc_lambda_rand( exp1 ) ); \ }
| #define L_DECL1SPEC | ( | op, | |||
| ty1, | |||||
| code | ) |
値:
inline \
sc_lambda_ptr \
operator op( ty1 s1 ) \
{ \
code \
}
| #define L_DECL2 | ( | op, | |||
| rator, | |||||
| ty1, | |||||
| ty2, | |||||
| exp1, | |||||
| exp2 | ) |
値:
inline \ sc_lambda_ptr \ operator op( ty1 s1, ty2 s2 ) \ { \ return new sc_lambda( rator, \ new sc_lambda_rand( exp1 ), \ new sc_lambda_rand( exp2 ) ); \ }
| #define L_DECL2SPEC | ( | op, | |||
| ty1, | |||||
| ty2, | |||||
| code | ) |
値:
inline \
sc_lambda_ptr \
operator op( ty1 s1, ty2 s2 ) \
{ \
code \
}
1.5.6