bsl::function::get_allocator

Return (a copy of) the allocator used to supply memory for this function.

Synopsis

Declared in <bslstl_function.h>

bsl::function<PROTOTYPE>::allocator_type
get_allocator() const noexcept;