template<typename T_numtype1, typename T_numtype2> \
struct name { \
typedef
BZ_PROMOTE(T_numtype1, T_numtype2) T_numtype; \
\
static inline T_numtype \
apply(T_numtype1
a, T_numtype2
b) \
\
template<typename T1, typename T2> \
static inline void prettyPrint(std::string &str, \
prettyPrintFormat& format, const T1& t1, \
const T2& t2) \
{ \
str += "("; \
t1.prettyPrint(str, format); \
str += #op; \
t2.prettyPrint(str, format); \
str += ")"; \
} \
};
BZ_PROMOTE(T1, T2)(min)(const T1 &a
N_length & a
Definition: tvecglobs.h:47
const T2 & b
Definition: minmax.h:48