24 #ifndef _GENERICARITHMETIC_H_ 25 #define _GENERICARITHMETIC_H_ 53 template<
typename ScalarT,
typename SelfT>
94 template<
class C>
typename C::self_type
operator+(
const C&,
const C& );
95 template<
class C>
typename C::self_type
operator+(
const C&,
const typename C::scalar_type& );
96 template<
class C>
typename C::self_type
operator+(
const typename C::scalar_type&,
const C& );
98 template<
class C>
typename C::self_type
operator*(
const C&,
const C& );
99 template<
class C>
typename C::self_type
operator*(
const C&,
const typename C::scalar_type& );
100 template<
class C>
typename C::self_type
operator*(
const typename C::scalar_type&,
const C& );
102 template<
class C>
typename C::self_type
operator-(
const C&,
const C& );
103 template<
class C>
typename C::self_type
operator-(
const C&,
const typename C::scalar_type& );
104 template<
class C>
typename C::self_type
operator-(
const typename C::scalar_type&,
const C& );
106 template<
class C>
typename C::self_type
operator/(
const C&,
const C& );
107 template<
class C>
typename C::self_type
operator/(
const C&,
const typename C::scalar_type& );
108 template<
class C>
typename C::self_type
operator/(
const typename C::scalar_type&,
const C& );
114 #endif // include guard bool operator>(const SelfT &) const
Definition: GenericArithmeticI.H:32
bool operator<(const SelfT &) const
Definition: GenericArithmeticI.H:26
C::self_type operator-(const C &, const C &)
Definition: GenericArithmeticI.H:128
ScalarT scalar_type
Definition: GenericArithmetic.H:60
Definition: GenericArithmetic.H:54
bool operator>=(const SelfT &) const
Definition: GenericArithmeticI.H:44
GenericArithmeticable(SelfT *s)
Definition: GenericArithmetic.H:64
SelfT & operator+=(const SelfT &)
Definition: GenericArithmeticI.H:53
virtual ~GenericArithmeticable()
Definition: GenericArithmetic.H:57
C::self_type operator+(const C &, const C &)
Definition: GenericArithmeticI.H:124
C::self_type operator/(const C &, const C &)
Definition: GenericArithmeticI.H:136
SelfT self_type
Definition: GenericArithmetic.H:61
C::self_type operator*(const C &, const C &)
Definition: GenericArithmeticI.H:132
bool operator<=(const SelfT &) const
Definition: GenericArithmeticI.H:38
SelfT * m_child
Definition: GenericArithmetic.H:83
SelfT & operator*=(const SelfT &)
Definition: GenericArithmeticI.H:77
SelfT & operator/=(const SelfT &)
Definition: GenericArithmeticI.H:89
SelfT & operator-=(const SelfT &)
Definition: GenericArithmeticI.H:65