concurrent_vector::get_allocator Method

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

allocator_type get_allocator() const;

Return Value

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

Requirements

Header: concurrent_vector.h

Namespace: Concurrency

See Also

Reference

concurrent_vector Class