[#bsl-multimap-0ae-contains-05]
= xref:bsl.adoc[bsl]::xref:bsl/multimap-0ae.adoc[multimap]::contains
:relfileprefix: ../../
:mrdocs:

Return `true` if this multimap contains an element whose key is equivalent to the specified `key`&period;

== Synopses

Declared in `&lt;bslstl&lowbar;multimap&period;h&gt;`

Return `true` if this multimap contains an element whose key is equivalent to the specified `key`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:bsl/multimap-0ae/contains-03.adoc[contains](xref:bsl/multimap-0ae/key_type.adoc[key&lowbar;type] const& key) const;
----

[.small]#xref:bsl/multimap-0ae/contains-03.adoc[_» more&period;&period;&period;_]#

Return `true` if this multimap contains an element whose key is equivalent to the specified `key`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
bool
xref:bsl/multimap-0ae/contains-02.adoc[contains](LOOKUP&lowbar;KEY const& key) const
requires BloombergLP&colon;&colon;bslmf&colon;&colon;IsTransparentPredicate&lt;COMPARATOR,
                                                   LOOKUP&lowbar;KEY&gt;&colon;&colon;value;
----

[.small]#xref:bsl/multimap-0ae/contains-02.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
