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.

Return Value

address of the allocator mechanism used by this object

Created with MrDocs