Namespaces
Variants

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

来自 zh.cppreference.net
 
 
 
 
 
 
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]
返回最小可能表示
(公开静态成员函数)