ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::containers::detail::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 87 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 alib::containers::detail::HTElementSelector< TValueDescriptor, THashCaching >::Type
Initial value:
std::conditional_t< IsCachingHashes(),
HTElementCached <typename TValueDescriptor::StoredType>,

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

Definition at line 98 of file hashtablebase.inl.

Method Details:

◆ IsCachingHashes()

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

Definition at line 90 of file hashtablebase.inl.


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