paludis
Version 2.6.0
|
Classes | |
struct | HasArithmeticOperators |
Functions | |
template<typename T1_ > | |
T1_ | operator+ (const T1_ &a, const typename T1_::template AssertHasArithmeticOperators< T1_ >::Type &b) PALUDIS_ATTRIBUTE((warn_unused_result)) |
template<typename T1_ > | |
T1_ | operator- (const T1_ &a, const typename T1_::template AssertHasArithmeticOperators< T1_ >::Type &b) PALUDIS_ATTRIBUTE((warn_unused_result)) |
template<typename T1_ > | |
T1_ | operator* (const T1_ &a, const typename T1_::template AssertHasArithmeticOperators< T1_ >::Type &b) PALUDIS_ATTRIBUTE((warn_unused_result)) |
template<typename T1_ > | |
T1_ | operator/ (const T1_ &a, const typename T1_::template AssertHasArithmeticOperators< T1_ >::Type &b) PALUDIS_ATTRIBUTE((warn_unused_result)) |
Classes with a base in this namespace define arithmetic operators via operator+= etc.