Return the address of the first node after the key‐equivalent range.

Synopsis

Declared in <bslstl_hashtable.h>

bslalg::BidirectionalLink*
findEndOfRange(bslalg::BidirectionalLink* first) const;

Description

Return the address of the first node after any nodes holding a value having the same key as the specified first node (according to this hash‐table's comparator), and a null pointer value if all nodes following first hold values with the same key as first. The behavior is undefined unless first is a link in this hash‐table. Note that this hash‐table ensures all elements having the same key form a contiguous sequence.

Return Value

address of the first node after the key‐equivalent range, or null

Parameters

Name

Description

first

first node of a key‐equivalent contiguous sequence

Created with MrDocs