BloombergLP::bdlc::FlatHashMap::find

Return an iterator to the element with the specified key.

Synopsis

Declared in <bdlc_flathashmap.h>

FlatHashMap<KEY, VALUE, HASH, EQUAL>::iterator
find(KEY const& key);

Description

Return an iterator referring to the modifiable element in this map having the specified key, or end() if no such entry exists in this map.

Return Value

iterator to the matching element, or end() if none

Parameters

NameDescription
keykey to look up