Udostępnij za pośrednictwem


concurrent_queue::get_allocator Method

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

allocator_type get_allocator() const;

Return Value

A copy of the allocator used to construct the concurrent queue.

Requirements

Header: concurrent_queue.h

Namespace: Concurrency

See Also

Reference

concurrent_queue Class