BloombergLP::bslalg::RbTreeAnchor::RbTreeAnchor

Create a RbTreeAnchor object having the specified rootNode, firstNode, and numNodes attribute values.

Synopsis

Declared in <bslalg_rbtreeanchor.h>

RbTreeAnchor(
    RbTreeNode* rootNode,
    RbTreeNode* firstNode,
    int numNodes);

Parameters

NameDescription
rootNodeaddress of the root node
firstNodeaddress of the first (left-most) node
numNodesnumber of nodes in the tree