concurrent_priority_queue::empty Method

Tests if the concurrent priority queue is empty at the time this method is called. This method is concurrency-safe.

bool empty() const;

Return Value

true if the priority queue was empty at the moment the function was called, false otherwise.


Header: concurrent_priority_queue.h

Namespace: concurrency

See Also


concurrent_priority_queue Class