Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

concurrent_unordered_map::size Method

Returns the number of elements in this concurrent container. This method is concurrency safe.

size_type size( ) const;

The number of items in the container.

In the presence of concurrent inserts, the number of elements in the concurrent container may change immediately after calling this function, before the return value is even read.

Header: internal_concurrent_hash.h

Namespace: concurrency

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.