cpp/thread/counting semaphore/max

Returns the internal counter's maximum possible value, which is greater than or equal to.

Return value
The internal counter's maximum possible value, as a std.