[#bsl-multiset-03-upper_bound-0a] = xref:bsl.adoc[bsl]::xref:bsl/multiset-03.adoc[multiset]::upper_bound :relfileprefix: ../../ :mrdocs: Return an iterator providing modifiable access to the first (i.e., ordered least) `value_type` object in this multiset greater than the specified `key`, and the past‐the‐end iterator if this multiset does not contain a `value_type` object greater‐than `key`. Note that this function returns the _last_ position before which a `value_type` object equivalent to `key` could be inserted into the ordered sequence maintained by this multiset, while preserving its ordering. == Synopsis Declared in `<bslstl_multiset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/multiset-03/iterator.adoc[iterator] upper_bound(xref:bsl/multiset-03/key_type.adoc[key_type] const& key); ---- == Description Note: implemented inline due to Sun CC compilation error. [.small]#Created with https://www.mrdocs.com[MrDocs]#