BloombergLP::bdlc::FlatHashMap::contains

Return whether this map contains an element with key.

Synopsis

Declared in <bdlc_flathashmap.h>

bool
contains(KEY const& key) const;

Description

Return true if this map contains an element having the specified key, and false otherwise.

Return Value

true if an element with key exists, and false otherwise

Parameters

NameDescription
keykey to look up