equal_range overloads
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...
pair of const iterators delimiting the equal range
| Name | Description |
|---|---|
| key | key whose equal range is returned |