The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

concurrent_unordered_multiset::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