bsl::list::get_allocator

Return a copy of the allocator used for memory allocation by this list.

Synopsis

Declared in <bslstl_list.h>

ALLOCATOR
get_allocator() const noexcept;

Return Value

copy of the allocator used by this list