39#ifndef HashTableCore_H
40#define HashTableCore_H
74 "NullObject is too small to reinterpret_cast as HashTable::iterator"
79 template<
class IteratorType,
class TableType>
96 inline IteratorType
begin()
const;
97 inline IteratorType
cbegin()
const;
99 inline IteratorType
end()
const;
100 inline IteratorType
cend()
const;
Factory class for creating a begin/end pair for any const iterator.
const_iterator_pair()
Default construct an empty pair.
IteratorType begin() const
bool empty() const noexcept
label size() const noexcept
IteratorType cbegin() const
IteratorType cend() const
Singleton null-object class and instance.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
Bits that are independent of HashTable template parameters.
HashTableCore()=default
Default construct.
static const label maxTableSize
Maximum allowable internal table size. Approximately labelMax/4.
ClassName("HashTable")
Declare type-name (with debug switch)
static label canonicalSize(const label requested_size)
Return a canonical (power-of-two) of the requested size.