Template Function wt::format::chrono::extract_duration

Function Documentation

template<typename Duration, typename Rep, typename Period>
inline constexpr auto wt::format::chrono::extract_duration(const std::chrono::duration<Rep, Period> &duration) noexcept

Extracts Duration out of input, and returns extracted value and remainder.