Create a new duration
object with an internal count given by that from another object divided
by the specified value.
template <class Rep1, class Period, class Rep2> duration<typename common_type<Rep1, Rep2>::type, Period> constexpr operator/( const duration<Rep1, Period>& d, const Rep2& s);
- Returns:
duration<CommonRep, Period>(duration<CommonRep, Period>(d).count() / s), where CommonRep isstd::common_type<Rep1,Rep2>::type.
Header
#include <chrono>