Games Task Scheduler (GTS)
A multi-processor scheduling framework for games engines
gts::ParallelHashTable< TKey, TValue, THasher, TAccessorSharedMutex, TGrowSharedMutex, TAllocator >::const_iterator Class Reference

A constant forward iterator. Read-locks the referenced element until destruction. More...

#include <ParallelHashTable.h>

Inherits gts::ParallelHashTable< TKey, TValue, THasher, TAccessorSharedMutex, TGrowSharedMutex, TAllocator >::base_const_iterator.

Public Member Functions

 const_iterator (const_iterator &&other)=default
 
const_iteratoroperator= (const_iterator &&other)
 
 const_iterator (table_type *pTable, size_type index, bool initProb)
 

Friends

class ParallelHashTable
 

Detailed Description

template<typename TKey, typename TValue, typename THasher = MurmurHash<TKey>, typename TAccessorSharedMutex = UnfairSharedSpinMutex<>, typename TGrowSharedMutex = UnfairSharedSpinMutex<>, typename TAllocator = AlignedAllocator<GTS_NO_SHARING_CACHE_LINE_SIZE>>
class gts::ParallelHashTable< TKey, TValue, THasher, TAccessorSharedMutex, TGrowSharedMutex, TAllocator >::const_iterator

A constant forward iterator. Read-locks the referenced element until destruction.