BloombergLP::bslstl::TreeNodePool::TreeNodePool

Constructors

Synopses

Declared in <bslstl_treenodepool.h>

Create a node-pool that adopts the allocations of original.

TreeNodePool(bslmf::MovableRef<TreeNodePool> original);
» more...

Create a node-pool that uses the specified allocator.

explicit
TreeNodePool(ALLOCATOR const& allocator);
» more...

Parameters

NameDescription
originalnode-pool that is moved from
allocatorallocator used to supply memory for allocated nodes