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

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

#include <ParallelVector.h>

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

Public Member Functions

 iterator (iterator &&other)=default
 
iteratoroperator= (iterator &&other)=default
 
 iterator (ParallelVector *pVec, slot_type *pSlot, size_type index)
 
iteratoroperator++ ()
 
value_type * operator-> ()
 
value_type & operator* ()
 

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 >::iterator

A forward iterator. Write-locks the referenced element until destruction.