HashMap< K, V, HASH, ENTRY_HANDLER, ALLOCATOR, MODE, INITIAL_CAPACITY, LOAD_FACTOR, ENTRY_ALLOCATOR >::LambdaEntryConstructor< KEY, LAMBDA, COPY_KEY > Struct Template Reference

#include <hashmap.h>

Detailed Description

template<typename K, typename V, typename HASH = DefaultCompare, typename ENTRY_HANDLER = HashMapKeyValuePair, typename ALLOCATOR = DefaultAllocator, HASHMAP_MODE MODE = HASHMAP_MODE::DEFAULT, Int INITIAL_CAPACITY = 16, Int LOAD_FACTOR = (MODE == HASHMAP_MODE::SYNCHRONIZED) ? 0 : 10, typename ENTRY_ALLOCATOR = ALLOCATOR>
template<typename KEY, typename LAMBDA, Bool COPY_KEY = TestForCopyFromMember<typename SFINAEHelper<K, KEY>::type>::isSupported && STD_IS_REPLACEMENT(reference, KEY)>
struct maxon::HashMap< K, V, HASH, ENTRY_HANDLER, ALLOCATOR, MODE, INITIAL_CAPACITY, LOAD_FACTOR, ENTRY_ALLOCATOR >::LambdaEntryConstructor< KEY, LAMBDA, COPY_KEY >

Internal.

Public Member Functions

Result< void > ConstructHashMapEntry (void *ptr, HashValueType hash, KEY &&key)
 

Static Public Member Functions

static Int GetHashMapEntrySize (const typename std::remove_reference< KEY >::type &key)
 

Member Function Documentation

◆ ConstructHashMapEntry()

Result<void> ConstructHashMapEntry ( void *  ptr,
HashValueType  hash,
KEY &&  key 
)

◆ GetHashMapEntrySize()

static Int GetHashMapEntrySize ( const typename std::remove_reference< KEY >::type key)
static