23 #define FAD_LOG_MACRO(OP) \ 24 template <int Num,class T> inline bool \ 25 operator OP(const TFad<Num,T> &a, const TFad<Num,T> &b) \ 27 return (a.val() OP b.val()); \ 30 template <int Num,class T> inline bool \ 31 operator OP(const TFad<Num,T> &a, const T &b) \ 33 return (a.val() OP b); \ 36 template <int Num,class T> inline bool \ 37 operator OP(const T &a, const TFad<Num,T> &b) \ 39 return (a OP b.val()); \ 42 template <int Num, class T> inline bool \ 43 operator OP(const TFadExpr<T> &a, const TFad<Num,T> &b) \ 45 return (a.val() OP b.val()); \ 48 template <int Num, class T> inline bool \ 49 operator OP(const TFad<Num,T> &a, const TFadExpr<T> &b) \ 51 return (a.val() OP b.val()); \ 54 template <class T> inline bool \ 55 operator OP(const TFadExpr<T> &a, const TFadExpr<T> &b) \ 57 return (a.val() OP b.val()); \ 60 template <class T> inline bool \ 61 operator OP(const T &a, const TFadExpr<T> &b) \ 63 return (a OP b.val()); \ 66 template <class T> inline bool \ 67 operator OP(const TFadExpr<T> &a, const T &b) \ 69 return (a.val() OP b); \ 72 template <class T> inline bool \ 73 operator OP(const double &a, const TFadExpr<T> &b) \ 75 return (a OP b.val()); \ 78 template <class T> inline bool \ 79 operator OP(const TFadExpr<T> &a, const double &b) \ 81 return (a.val() OP b); \
bool operator!(const TFad< Num, T > &a)
#define FAD_LOG_MACRO(OP)