std::chrono::duration_values<Rep>:: max
From cppreference.net
<
cpp
|
chrono
|
duration values
C++
Utilities library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Date and time library
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::chrono::duration
| Member functions | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Non-member functions | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Helper classes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::chrono::duration_values
| Member functions | ||||
|
duration_values::max
|
|
static
constexpr
Rep max
(
)
;
|
(C++11 起)
(C++20 前) |
|
|
static
constexpr
Rep max
(
)
noexcept
;
|
(C++20 起) | |
返回可能的最大表示。
参数
(无)
返回值
std:: numeric_limits < Rep > :: max ( )
参见
|
[static]
|
返回特殊时长值 max
(
std::chrono::duration<Rep,Period>
的公开静态成员函数)
|
|
[static]
|
返回零时长表示
(公开静态成员函数) |
|
[static]
|
返回最小可能表示
(公开静态成员函数) |