BloombergLP::bslstl::TreeNodePool::deleteNode

Destroy the value of node and return its memory to this pool.

Synopsis

Declared in <bslstl_treenodepool.h>

void
deleteNode(bslalg::RbTreeNode* node);

Description

Destroy the VALUE value of the specified node and return the memory footprint of node to this pool for potential reuse. The behavior is undefined unless node refers to a TreeNode<VALUE>.

Parameters

NameDescription
nodenode whose value is destroyed and memory returned