BloombergLP::bdlc::FlatHashTable_IteratorImp::FlatHashTable_IteratorImp

Create an iterator at the first element of entries/controls.

Synopsis

Declared in <bdlc_flathashtable.h>

FlatHashTable_IteratorImp(
    ENTRY* entries,
    uint8_t const* controls,
    std::size_t additionalLength);

Description

Create a FlatHashTable_IteratorImp referencing the first element of the specified entries and controls, which have the specified additionalLength values. The behavior is undefined unless entries points to at least 1 + additionalLength entry values and controls points to at least 1 + additionalLength + ControlGroup::k_SIZE control values.

Parameters

NameDescription
entriespointer to the entries array
controlspointer to the controls array
additionalLengthremaining in-range length after this position