bsl::function::allocator

Return get_allocator().mechanism(). Note that this function exists for BDE compatibility and is not part of the C++ Standard Library.

Synopsis

Declared in <bslstl_function.h>

BloombergLP::bslma::Allocator*
allocator() const noexcept;

Description

DEPRECATED: Use get_allocator() instead.