BloombergLP::bslstl::SimplePool::allocator

Return a non-modifiable reference to this pool's rebound allocator.

Synopsis

Declared in <bslstl_simplepool.h>

SimplePool<VALUE, ALLOCATOR>::AllocatorType const&
allocator() const;

Description

Return a reference providing non-modifiable access to the rebound allocator traits for the node-type. Note that this operation returns a base-class (AllocatorType) reference to this object.

Return Value

non-modifiable reference to the rebound allocator