nCine 2025.07.r505-7e70e87
A cross-platform 2D game engine
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Friends | List of all members
nctl::SparseSetIterator< T > Class Template Reference

A sparseset iterator. More...

#include <SparseSetIterator.h>

Public Types

using Reference = typename IteratorTraits< SparseSetIterator >::Reference
 Reference type which respects iterator constness.
 

Public Member Functions

 SparseSetIterator (const SparseSet< T > *sparseSet, int index)
 
Reference operator* () const
 Deferencing operator.
 
SparseSetIteratoroperator++ ()
 Iterates to the next element (prefix)
 
SparseSetIterator operator++ (int)
 Iterates to the next element (postfix)
 
SparseSetIteratoroperator-- ()
 Iterates to the previous element (prefix)
 
SparseSetIterator operator-- (int)
 Iterates to the previous element (postfix)
 

Friends

bool operator== (const SparseSetIterator &lhs, const SparseSetIterator &rhs)
 Equality operator.
 
bool operator!= (const SparseSetIterator &lhs, const SparseSetIterator &rhs)
 Inequality operator.
 

Detailed Description

template<class T>
class nctl::SparseSetIterator< T >

A sparseset iterator.


The documentation for this class was generated from the following files: