ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::PointerTable< T, Eq, A, Policy >::Places Struct Reference

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

#include <ADS/dictionary/PointerTable.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 an object
static auto read (const auto &o, std::size_t i)
 the pointer of the place \( i \)

Detailed description

template<class T, class Eq = StateEqual, class A = std::allocator< std::byte >, class Policy = NoObservers>
struct ADS::PointerTable< T, Eq, A, Policy >::Places

the places of the table, for SlotIterator

Member function documentation

◆ occupied()

template<class T, class Eq = StateEqual, class A = std::allocator< std::byte >, class Policy = NoObservers>
bool ADS::PointerTable< T, Eq, A, Policy >::Places::occupied ( const auto & o,
std::size_t i )
inlinestatic

whether the place \( i \) holds an object

◆ read()

template<class T, class Eq = StateEqual, class A = std::allocator< std::byte >, class Policy = NoObservers>
auto ADS::PointerTable< T, Eq, A, Policy >::Places::read ( const auto & o,
std::size_t i )
inlinestatic

the pointer of the place \( i \)

◆ size()

template<class T, class Eq = StateEqual, class A = std::allocator< std::byte >, class Policy = NoObservers>
std::size_t ADS::PointerTable< T, Eq, A, Policy >::Places::size ( const auto & o)
inlinestatic

the number of places


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