BloombergLP::bdlc::FlatHashSet::find

Return an iterator to the element with the specified key.

Synopsis

Declared in <bdlc_flathashset.h>

FlatHashSet<KEY, HASH, EQUAL>::const_iterator
find(KEY const& key) const;

Description

Return a const_iterator referring to the element in this set having the specified key, or end() if no such entry exists in this set.

Return Value

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

Parameters

NameDescription
keykey to look up