Namespaces
Variants
Actions

std::chrono::duration_values<Rep>::max

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 max();
(since C++11)
(until C++20)
static constexpr Rep max() noexcept;
(since C++20)

Returns the largest possible representation.

[edit] Parameters

(none)

[edit] Return value

std::numeric_limits <Rep>::max()

[edit] See also

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

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