ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::BrentHashTable< K, V, H >::Places Struct Reference

the places of the table, for SlotIterator More...

#include <ADS/dictionary/KnuthHashing.h>

Static public member functions

static std::size_t size (const auto &o)
 the number of places
static bool occupied (const auto &o, std::size_t i)
 whether the place \( i \) holds a key
static const std::pair< K, V > & read (const auto &o, std::size_t i)
 the pair of the place \( i \)

Detailed description

template<class K, class V, class H = std::hash< K >>
struct ADS::BrentHashTable< K, V, H >::Places

the places of the table, for SlotIterator

Member function documentation

◆ occupied()

template<class K, class V, class H = std::hash< K >>
bool ADS::BrentHashTable< K, V, H >::Places::occupied ( const auto & o,
std::size_t i )
inlinestatic

whether the place \( i \) holds a key

◆ read()

template<class K, class V, class H = std::hash< K >>
const std::pair< K, V > & ADS::BrentHashTable< K, V, H >::Places::read ( const auto & o,
std::size_t i )
inlinestatic

the pair of the place \( i \)

◆ size()

template<class K, class V, class H = std::hash< K >>
std::size_t ADS::BrentHashTable< K, V, H >::Places::size ( const auto & o)
inlinestatic

the number of places


The documentation for this struct was generated from the following file: