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

Synopsis

Declared in <bslstl_treenodepool.h>

TreeNodePool(bslmf::MovableRef<TreeNodePool> original);

Description

Create a node‐pool, adopting all outstanding memory allocations associated with the specified original node‐pool, that will use the allocator associated with original to supply memory for allocated node objects. original is left in a valid but unspecified state.

Parameters

Name

Description

original

node‐pool that is moved from

Created with MrDocs