std::latch::max

< cpp‎ | thread‎ | latch
static constexpr std::ptrdiff_t max() noexcept;
(C++20 起)

返回实现所支持的内部计数器的最大值。

参数

(无)

返回值

实现所支持的内部计数器的最大值。