BloombergLP::bslstl::SimplePool::allocator

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

Synopsis

Declared in <bslstl_simplepool.h>

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

Description

Return a reference providing 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

modifiable reference to the rebound allocator