non-member functions |
/* non-member functions: */
template <class Rep1, class Period1, class Rep2, class Period2>
constexpr typename common_type<duration<Rep1,Period1>,duration<Rep2,Period2>>::type
operator+ (const duration<Rep1,Period1>& lhs, const duration<Rep2,Period2>& rhs);
template <class Rep1, class Period1, class Rep2, class Period2>
constexpr typename common_type<duration<Rep1,Period1>,duration<Rep2,Period2>>::type
operator- (const duration<Rep1,Period1>& lhs, const duration<Rep2,Period2>& rhs);
template <class Rep1, class Period, class Rep2>
constexpr duration<typename common_type<Rep1,Rep2>::type, Period>
operator* (const duration<Rep1,Period>& lhs, const Rep2& r);
template <class Rep1, class Rep2, class Period>
constexpr duration<typename common_type<Rep1,Rep2>::type, Period>
operator* (const Rep1& s, const duration<Rep2,Period>& rhs);
template <class Rep1, class Period, class Rep2>
constexpr duration<typename common_type<Rep1,Rep2>::type, Period>
operator/ (const duration<Rep1,Period>& lhs, const Rep2& r);
template <class Rep1, class Rep2, class Period>
constexpr duration<typename common_type<Rep1,Rep2>::type, Period>
operator/ (const Rep1& s, const duration<Rep2,Period>& rhs);
template <class Rep1, class Period, class Rep2>
constexpr duration<typename common_type<Rep1,Rep2>::type, Period>
operator% (const duration<Rep1,Period>& lhs, const Rep2& r);
template <class Rep1, class Rep2, class Period>
constexpr duration<typename common_type<Rep1,Rep2>::type, Period>
operator% (const Rep1& s, const duration<Rep2,Period>& rhs);
template <class Rep1, class Period1, class Rep2, class Period2>
constexpr bool operator== (const duration<Rep1,Period1>& lhs, const duration<Rep2,Period2>& rhs);
template <class Rep1, class Period1, class Rep2, class Period2>
constexpr bool operator!= (const duration<Rep1,Period1>& lhs, const duration<Rep2,Period2>& rhs);
template <class Rep1, class Period1, class Rep2, class Period2>
constexpr bool operator< (const duration<Rep1,Period1>& lhs, const duration<Rep2,Period2>& rhs);
template <class Rep1, class Period1, class Rep2, class Period2>
constexpr bool operator> (const duration<Rep1,Period1>& lhs, const duration<Rep2,Period2>& rhs);
template <class Rep1, class Period1, class Rep2, class Period2>
constexpr bool operator>= (const duration<Rep1,Period1>& lhs, const duration<Rep2,Period2>& rhs);
template <class Rep1, class Period1, class Rep2, class Period2>
constexpr bool operator<= (const duration<Rep1,Period1>& lhs, const duration<Rep2,Period2>& rhs); |
---|