[#BloombergLP-bslalg-RbTreeUtil-next-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/RbTreeUtil.adoc[RbTreeUtil]::next :relfileprefix: ../../../ :mrdocs: Return the address of the node that follows the specified `node` in an in‐order traversal of the binary tree to which `node` belongs, or the tree's sentinel node if `node` is the rightmost node in the tree. The behavior is undefined unless `node` is a member of a valid binary tree, and is not a sentinel node. Note that if the tree does not contain duplicate values, then the returned node will have the smallest value greater than that of `node`. == Synopsis Declared in `<bslalg_rbtreeutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslalg/RbTreeNode.adoc[RbTreeNode] const* next(xref:BloombergLP/bslalg/RbTreeNode.adoc[RbTreeNode] const* node); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#