Return whether this map contains an element equivalent to key.

Synopsis

Declared in <bslstl_map.h>

bool
contains(key_type const& key) const;

Description

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

Return Value

true if an equivalent key is present

Parameters

Name

Description

key

key value to look up

Created with MrDocs