Games Task Scheduler (GTS)
A multi-processor scheduling framework for games engines
gts::ParallelVector< T, TSharedMutex, TAllocator >::const_iterator Class Reference

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

#include <ParallelVector.h>

Inherits gts::ParallelVector< T, TSharedMutex, TAllocator >::base_const_iterator.

Public Member Functions

 const_iterator (const_iterator &&other)=default
 
const_iteratoroperator= (const_iterator &&other)=default
 
 const_iterator (ParallelVector const *pVec, slot_type *pSlot, size_type index)
 

Friends

class ParallelVector
 

Detailed Description

template<typename T, typename TSharedMutex = UnfairSharedSpinMutex<>, typename TAllocator = AlignedAllocator<GTS_NO_SHARING_CACHE_LINE_SIZE>>
class gts::ParallelVector< T, TSharedMutex, TAllocator >::const_iterator

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