the iterator on the full places, by its group, the slot of the first place of the group and the mask of the full places of the group from its own on, the lowest bit its place: a step clears that bit and keeps the places still full in the control bytes, so that the next place depends on the previous one by two operations on the mask and a place emptied meanwhile is skipped; past the group it skips the empty groups whole, up to a sentinel group after the last, whose byte 0 is full and whose first place is the end, so that a step tests no bound
More...
template<class K, class V, class H = DefaultHash< K >, class Eq = std::equal_to< K >, class A = std::allocator< std::pair< const K , V > >>
class ADS::FlatHashTable< K, V, H, Eq, A >::const_iterator
the iterator on the full places, by its group, the slot of the first place of the group and the mask of the full places of the group from its own on, the lowest bit its place: a step clears that bit and keeps the places still full in the control bytes, so that the next place depends on the previous one by two operations on the mask and a place emptied meanwhile is skipped; past the group it skips the empty groups whole, up to a sentinel group after the last, whose byte 0 is full and whose first place is the end, so that a step tests no bound
template<class K, class V, class H = DefaultHash< K >, class Eq = std::equal_to< K >, class A = std::allocator< std::pair< const K , V > >>
to the next full place
In pseudocode (beyond the book), \( M \) the mask of the full places of the group \( g \) from the current one on, its lowest bit the current place:
\[\class{pseudocode}{\begin{array}{r@{\quad}l}
1 & \textbf{procedure}\ \mathrm{next}() \cr
2 & \quad M \gets M \land ( M - 1 ) \land \text{the full places of }
g\quad \triangleright\ \text{the lowest bit cleared} \cr
3 & \quad \textbf{if}\ M = 0\ \textbf{then}\ \text{go to the first full }
\text{place of the groups after } g \text{, maybe the sentinel}
\end{array}}
\]