[#BloombergLP-bslalg-RbTreeNode-setParent]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/RbTreeNode.adoc[RbTreeNode]::setParent
:relfileprefix: ../../../
:mrdocs:

Set the parent of this node to the specified `address`&period; If `address` is 0, then this node will have not have a parent node (i&period;e&period;, it will be the root node)&period; The behavior is undefined unless `address` is aligned to at least two bytes&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setParent(xref:BloombergLP/bslalg/RbTreeNode.adoc[RbTreeNode]* address);
----


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