[#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`. If `address` is 0, then this node will have not have a parent node (i.e., it will be the root node). The behavior is undefined unless `address` is aligned to at least two bytes. == Synopsis Declared in `<bslalg_rbtreenode.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setParent(xref:BloombergLP/bslalg/RbTreeNode.adoc[RbTreeNode]* address); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#