bsl::multimap::contains

Return whether this multimap contains an element equivalent to key.

Synopsis

Declared in <bslstl_multimap.h>

bool
contains(key_type const& key) const;

Description

Return true if this multimap contains an element whose key is equivalent to the specified key.

Return Value

true if an equivalent key is present

Parameters

NameDescription
keykey value to look up