[#BloombergLP-bslalg-RbTreeUtil-upperBound-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/RbTreeUtil.adoc[RbTreeUtil]::upperBound :relfileprefix: ../../../ :mrdocs: Return the address of the leftmost node holding the smallest value greater‐than `value` in the specified `tree`. == Synopsis Declared in `<bslalg_rbtreeutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class NODE_VALUE_COMPARATOR, class VALUE> static xref:BloombergLP/bslalg/RbTreeNode.adoc[RbTreeNode]* upperBound( xref:BloombergLP/bslalg/RbTreeAnchor.adoc[RbTreeAnchor]& tree, NODE_VALUE_COMPARATOR& comparator, VALUE const& value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#