[#BloombergLP-bslalg-RbTreeAnchor-reset]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/RbTreeAnchor.adoc[RbTreeAnchor]::reset
:relfileprefix: ../../../
:mrdocs:

Set the `rootNode`, `firstNode`, and `numNodes` attributes to the specified `rootNode`, `firstNode`, and `numNodes` respectively&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;rbtreeanchor&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
reset(
    xref:BloombergLP/bslalg/RbTreeNode.adoc[RbTreeNode]* rootNode,
    xref:BloombergLP/bslalg/RbTreeNode.adoc[RbTreeNode]* firstNode,
    int numNodes);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rootNode*
| new root node pointer
| *firstNode*
| new first node pointer
| *numNodes*
| new number of nodes
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
