std::deque<T,Allocator>::get_allocator (3) - Linux Manuals

std::deque<T,Allocator>::get_allocator: std::deque<T,Allocator>::get_allocator

NAME

std::deque<T,Allocator>::get_allocator - std::deque<T,Allocator>::get_allocator

Synopsis


allocator_type get_allocator() const;


Returns the allocator associated with the container.

Parameters


(none)

Return value


The associated allocator.

Complexity


Constant.