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

Name

Description

parent

parent node, or 0 if this node is the root

leftChild

left‐child node, or 0 if none

rightChild

right‐child node, or 0 if none

color

color of this node

Created with MrDocs