Scroll to navigation

std::chrono::duration_values::zero(3) C++ Standard Libary std::chrono::duration_values::zero(3)

NAME

std::chrono::duration_values::zero - std::chrono::duration_values::zero

Synopsis

static constexpr Rep zero(); (since C++11)
(until C++20) static constexpr Rep zero() noexcept; (since C++20)

Returns a zero-length representation.

Parameters

(none)

Return value

Rep(0)

See also

zero returns the special duration value zero [static] (public static member function of std::chrono::duration<Rep,Period>) min returns the smallest possible representation [static] (public static member function) max returns the largest possible representation [static] (public static member function)

2026.11.10 http://cppreference.com