Namespaces
Variants
Actions

std::chrono::duration_values<Rep>::zero

From cppreference.com
 
 
Utilities library
General utilities
Relational operators (deprecated in C++20)
(C++20)(C++20)(C++20)  
(C++20)
(C++20)
(C++14)
(C++11)
(C++11)
(C++23)
(C++11)
(C++17)
Common vocabulary types
(C++11)
(C++17)
(C++17)
(C++17)
(C++11)
(C++17)
(C++23)


 
Date and time library
(C++11)
(C++20)
(C++11)
(C++11)
(C++11)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)
(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)
(C++20)

 
std::chrono::duration
Member functions
Non-member functions
Helper classes
 
 
static constexpr Rep zero();
(since C++11)
(until C++20)
static constexpr Rep zero() noexcept;
(since C++20)

Returns a zero-length representation.

[edit] Parameters

(none)

[edit] Return value

Rep(0)

[edit] See also

[static]
returns the special duration value zero
(public static member function of std::chrono::duration<Rep,Period>) [edit]
[static]
returns the smallest possible representation
(public static member function) [edit]
[static]
returns the largest possible representation
(public static member function) [edit]
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/chrono/duration_values/zero&oldid=161877"

AltStyle によって変換されたページ (->オリジナル) /