[#BloombergLP-bslalg-RbTreeAnchor-2constructor-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/RbTreeAnchor.adoc[RbTreeAnchor]::RbTreeAnchor
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create a `RbTree` object having the (default) attribute values&colon; &grave; rootNode() &equals;&equals; 0 firstNode() &equals;&equals; sentinel() numNodes() &equals;&equals; 0 &grave;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslalg/RbTreeAnchor/2constructor-03.adoc[RbTreeAnchor]();
----

[.small]#xref:BloombergLP/bslalg/RbTreeAnchor/2constructor-03.adoc[_» more&period;&period;&period;_]#

Create a `RbTreeAnchor` object having the specified `rootNode`, `firstNode`, and `numNodes` attribute values&period;


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

[.small]#xref:BloombergLP/bslalg/RbTreeAnchor/2constructor-0e.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rootNode*
| address of the root node
| *firstNode*
| address of the first (left&hyphen;most) node
| *numNodes*
| number of nodes in the tree
|===


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