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

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

NAME

std::list<T,Allocator>::get_allocator - std::list<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.