bsl::unordered_multimap::contains

Return true if this container has an element with key equivalent to key.

Synopsis

Declared in <bslstl_unorderedmultimap.h>

bool
contains(key_type const& key) const;

Description

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

Return Value

true if key is present, and false otherwise

Parameters

NameDescription
keykey value to look up