[#bsl-multimap-0ae-upper_bound-00] = xref:bsl.adoc[bsl]::xref:bsl/multimap-0ae.adoc[multimap]::upper_bound :relfileprefix: ../../ :mrdocs: `upper_bound` overloads == Synopses Declared in `<bslstl_multimap.h>` Return an iterator to the first element with key greater than `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/multimap-0ae/iterator.adoc[iterator] xref:bsl/multimap-0ae/upper_bound-08.adoc[upper_bound](xref:bsl/multimap-0ae/key_type.adoc[key_type] const& key); ---- [.small]#xref:bsl/multimap-0ae/upper_bound-08.adoc[_» more..._]# Return a const iterator to the first element with key greater than `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/multimap-0ae/const_iterator.adoc[const_iterator] xref:bsl/multimap-0ae/upper_bound-0c.adoc[upper_bound](xref:bsl/multimap-0ae/key_type.adoc[key_type] const& key) const; ---- [.small]#xref:bsl/multimap-0ae/upper_bound-0c.adoc[_» more..._]# Return an iterator to the first element with key greater than `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:bsl/multimap-0ae/iterator.adoc[iterator] xref:bsl/multimap-0ae/upper_bound-05.adoc[upper_bound](LOOKUP_KEY const& key) requires BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR, LOOKUP_KEY>::value; ---- [.small]#xref:bsl/multimap-0ae/upper_bound-05.adoc[_» more..._]# Return a const iterator to the first element with key greater than `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:bsl/multimap-0ae/const_iterator.adoc[const_iterator] xref:bsl/multimap-0ae/upper_bound-0d.adoc[upper_bound](LOOKUP_KEY const& key) const requires BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR, LOOKUP_KEY>::value; ---- [.small]#xref:bsl/multimap-0ae/upper_bound-0d.adoc[_» more..._]# == Return Value * iterator to the upper bound, or `end()` * const iterator to the upper bound, or `end()` == Parameters [cols="1,4"] |=== | Name| Description | *key* | key value to look up |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#