BloombergLP::bslstl::TreeNodePool::cloneNode

Allocate a node object and copy-construct an object of the (template parameter) type VALUE having the same value as the specified original at the value attribute of the node. Return the address of the newly allocated node. The behavior is undefined unless original refers to a TreeNode<VALUE> object holding a valid (initialized) value.

Synopsis

Declared in <bslstl_treenodepool.h>

bslalg::RbTreeNode*
cloneNode(bslalg::RbTreeNode const& original);