ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::DirectTable< V >::Places Struct Reference

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

#include <ADS/dictionary/DirectTable.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 auto read (const auto &o, std::size_t i)
 the pair of the place \( i \), its key computed as \( a + i \)

Detailed description

template<class V>
struct ADS::DirectTable< V >::Places

the places of the table, for SlotIterator

Member function documentation

◆ occupied()

template<class V>
bool ADS::DirectTable< V >::Places::occupied ( const auto & o,
std::size_t i )
inlinestatic

whether the place \( i \) holds a key

◆ read()

template<class V>
auto ADS::DirectTable< V >::Places::read ( const auto & o,
std::size_t i )
inlinestatic

the pair of the place \( i \), its key computed as \( a + i \)

◆ size()

template<class V>
std::size_t ADS::DirectTable< V >::Places::size ( const auto & o)
inlinestatic

the number of places


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