paludis  Version 2.6.0
Classes | Functions
paludis::arithmetic_operators Namespace Reference

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))
 

Detailed Description

Classes with a base in this namespace define arithmetic operators via operator+= etc.