BloombergLP::bslalg::RbTreeNode::reset

Reset this object to have the specified parent, leftChild, rightChild, and color property values.

Synopsis

Declared in <bslalg_rbtreenode.h>

void
reset(
    RbTreeNode* parent,
    RbTreeNode* leftChild,
    RbTreeNode* rightChild,
    Color color);

Parameters

NameDescription
parentparent node, or 0 if this node is the root
leftChildleft-child node, or 0 if none
rightChildright-child node, or 0 if none
colorcolor of this node