Divide one duration object
by another.
template <class Rep1, class Period1, class Rep2, class Period2> typename common_type<Rep1, Rep2>::type constexpr operator/( const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs);
- Returns:
duration<CommonRep, Period>(lhs).count() / duration<CommonRep, Period>(rhs).count(), where CommonRep isstd::common_type<Rep1,Rep2>::type.
Header
#include <chrono>