function template
std::chrono::abs
- Header
<chrono>- Draft
- [c.math.abs]
- Scope
std::chrono- cppreference
- <chrono> nearest page
Synopsis
template<class Rep, class Period>
requires numeric_limits<Rep>::is_signed
constexpr duration<Rep, Period> abs(duration<Rep, Period> d);