W3cubDocs

/C++

std::barrier<CompletionFunction>::max

static constexpr std::ptrdiff_t max() noexcept;
(since C++20)

Returns the maximum value of the expected count supported by the implementation.

Parameters

(none).

Return value

The maximum value of the expected count supported by the implementation.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/thread/barrier/max