[#BloombergLP-bdlb-AlgorithmWorkaroundUtil-upperBound-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/AlgorithmWorkaroundUtil.adoc[AlgorithmWorkaroundUtil]::upperBound :relfileprefix: ../../../ :mrdocs: `upperBound` overloads == Synopses Declared in `<bdlb_algorithmworkaroundutil.h>` Return an iterator to the first element greater than `value`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class FORWARD_IT, class TYPE> static FORWARD_IT xref:BloombergLP/bdlb/AlgorithmWorkaroundUtil/upperBound-04.adoc[upperBound]( FORWARD_IT first, FORWARD_IT last, TYPE const& value); ---- [.small]#xref:BloombergLP/bdlb/AlgorithmWorkaroundUtil/upperBound-04.adoc[_» more..._]# Return an iterator to the first element greater than `value`, using `comp`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class FORWARD_IT, class TYPE, class COMPARE> static FORWARD_IT xref:BloombergLP/bdlb/AlgorithmWorkaroundUtil/upperBound-0e.adoc[upperBound]( FORWARD_IT first, FORWARD_IT last, TYPE const& value, COMPARE comp); ---- [.small]#xref:BloombergLP/bdlb/AlgorithmWorkaroundUtil/upperBound-0e.adoc[_» more..._]# == Return Value iterator to the first element greater than `value`, or `last` if none == Parameters [cols="1,4"] |=== | Name| Description | *first* | beginning of the sorted range to search | *last* | end of the sorted range to search | *value* | value to compare against elements in the range | *comp* | comparison functor inducing a strict weak ordering |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#