[#BloombergLP-bslstl-HashTable-06-findRange-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/HashTable-06.adoc[HashTable]::findRange :relfileprefix: ../../../ :mrdocs: Load into the specified `first` and `last` pointers the respective addresses of the first and last link (in the list of elements owned by this hash table) where the contained elements have a key that is equivalent to the specified `key` using the `comparator` of this hash‐table, and null pointer values if there are no elements matching `key`. The behavior is undefined unless `key` is equivalent to the elements of at most one equivalent‐key group. Note that the output values will form a closed range, where both `first` and `last` point to links satisfying the predicate (rather than a semi‐open range where `last` would point to the element following the range). Also note that this hash‐table ensures all elements having the same key form a contiguous sequence. == Synopsis Declared in `<bslstl_hashtable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> void findRange( xref:BloombergLP/bslalg/BidirectionalLink.adoc[bslalg::BidirectionalLink]** first, xref:BloombergLP/bslalg/BidirectionalLink.adoc[bslalg::BidirectionalLink]** last, LOOKUP_KEY const& key) const requires BloombergLP::bslmf::IsTransparentPredicate<HASHER, LOOKUP_KEY>::value && BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR,LOOKUP_KEY>::value; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#