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

Set the `numNodes` attribute of this object to the specified `value`&period; The behavior is undefined unless `0 &lt;&equals; value`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setNumNodes(int value);
----


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