Set the rootNode, firstNode, and numNodes attributes to the specified rootNode, firstNode, and numNodes respectively.

Synopsis

Declared in <bslalg_rbtreeanchor.h>

void
reset(
    RbTreeNode* rootNode,
    RbTreeNode* firstNode,
    int numNodes);

Parameters

Name

Description

rootNode

new root node pointer

firstNode

new first node pointer

numNodes

new number of nodes

Created with MrDocs