Share via


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;

Return Value

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

Requirements

Header: concurrent_priority_queue.h

Namespace: concurrency

See Also

Reference

concurrent_priority_queue Class