Expand Minimize

concurrent_unordered_map::empty Method

Tests whether no elements are present. This method is concurrency safe.

bool empty( ) const;

true if the concurrent container is empty, false otherwise.

In the presence of concurrent inserts, whether or not the concurrent container is empty may change immediately after calling this function, before the return value is even read.

Header: internal_concurrent_hash.h

Namespace: concurrency

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