concurrent_unordered_set::max_size Method

Returns the maximum size of the concurrent container, determined by the allocator. This method is concurrency safe.

size_type max_size() const;

Return Value

The maximum number of elements that can be inserted into this concurrent container.

Remarks

This upper bound value may actually be higher than what the container can actually hold.

Requirements

Header: internal_concurrent_hash.h

Namespace: concurrency

See Also

Reference

concurrent_unordered_set Class