ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
HashTableElementType< T, TStored, TKey, THashCaching > Struct Template Reference

Description:

template<typename T, typename TStored, typename TKey, lang::Caching THashCaching>
struct alib::monomem::detail::HashTableElementType< T, TStored, TKey, THashCaching >

Helper struct used to determine the node type of detail::HashTableBase .

Type definition type equals detail::HashTableElementUncached in case THashCashing equals Caching::Enabled or Caching::Auto and TKey is an arithmetic type.
Otherwise, detail::HashTableElementCached is chosen.

Definition at line 161 of file hashtablebase.inl.

Public Type Index:

using type
 

Type Definition Details:

◆ type

template<typename T , typename TStored , typename TKey , lang::Caching THashCaching>
using type
Initial value:
|| ( THashCaching == lang::Caching::Auto
&& !std::is_arithmetic<TKey>::value ),
detail::HashTableElementCached <T ALIB_COMMA TStored>,
detail::HashTableElementUncached<T ALIB_COMMA TStored> )
#define ATMP_IF_T_F( Cond, T, F)
Definition tmp.hpp:54
@ Enabled
Caching is enabled.
@ Auto
Auto/default mode.

The element type that the hash table uses. Results from values given for THashCaching and TKey .

Definition at line 165 of file hashtablebase.inl.


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