concurrent_priority_queue::get_allocator Method

 

Returns a copy of the allocator used to construct the concurrent priority queue. This method is concurrency-safe.

allocator_type get_allocator() const;

A copy of the allocator used to construct the concurrent_priority_queue object.

Requirements

Header: concurrent_priority_queue.h

Namespace: concurrency

Show: