BloombergLP::bslstl::TreeNodePool::allocator

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

Synopsis

Declared in <bslstl_treenodepool.h>

SimplePool<TreeNode<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 (NodeAlloc) reference to this object.

Return Value

non-modifiable reference to this pool's rebound allocator