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;

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

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

Header: internal_concurrent_hash.h

Namespace: concurrency

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft