ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
HTElementSelector< TValueDescriptor, THashCaching > Struct Template Reference

Description:

template<typename TValueDescriptor, lang::Caching THashCaching>
struct alib::containers::detail::HTElementSelector< TValueDescriptor, THashCaching >

Node types used with HashTable.

Template Parameters
TValueDescriptorThe descriptor of contained types provided with a template parameter of the HashTable.
THashCachingA template parameter of the HashTable that determines whether hash values are cached or not.

Definition at line 99 of file hashtablebase.inl.

Public Type Index:

using Type
 The type stored in a hash table's bucket list.
 

Public Static Method Index:

static constexpr bool IsCachingHashes ()
 

Type Definition Details:

◆ Type

template<typename TValueDescriptor , lang::Caching THashCaching>
using Type
Initial value:
ATMP_IF_T_F( IsCachingHashes(), HTElementCached <typename TValueDescriptor::StoredType>,
HTElementUncached<typename TValueDescriptor::StoredType> )
#define ATMP_IF_T_F( Cond, T, F)
Definition tmp.hpp:50

The type stored in a hash table's bucket list.

Definition at line 110 of file hashtablebase.inl.

Method Details:

◆ IsCachingHashes()

template<typename TValueDescriptor , lang::Caching THashCaching>
static constexpr bool IsCachingHashes ( )
inlinestaticconstexpr
Returns
true, if the selected Type caches hash values, otherwise false.

Definition at line 102 of file hashtablebase.inl.


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