BloombergLP::bdlc::FlatHashSet::equal_range

equal_range overloads

Synopses

Declared in <bdlc_flathashset.h>

Return the equal range for the specified key.

bsl::pair<FlatHashSet<KEY, HASH, EQUAL>::const_iterator, FlatHashSet<KEY, HASH, EQUAL>::const_iterator>
equal_range(KEY const& key) const;
» more...

Return the equal range for elements equivalent to key.

template<class LOOKUP_KEY>
bsl::pair<const_iterator, const_iterator>
equal_range(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value
         && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value;
» more...

Return Value

pair of const iterators delimiting the equal range

Parameters

NameDescription
keykey whose equal range is returned