sincerely
Singaporean
If you have not done so, read this full tutorial on how to use SGEXTN to build an application.
(no source file, everything inside header)
template ‹typename T, typename EqualityCheck, typename HashFunction› class SGLUnorderedSet::ConstIterator;
part of SGEXTN module SG_Containers
constant iterator for SGLUnorderedSet
list of all including inherited members
preprocessor file inclusion directive: #include ‹SGLUnorderedSet.h›
CMake target for BuildLah: SGEXTN::SG_Containers
see this link for more information about BuildLah
parent class: (none)
children classes: (none)
bool operator!=(SGLUnorderedSet::ConstIterator x);
const T& operator*();
SGLUnorderedSet::ConstIterator& operator++();
SGLUnorderedSet::ConstIterator operator++(int);
SGLUnorderedSet::ConstIterator& operator--();
SGLUnorderedSet::ConstIterator operator--(int);
bool operator==(SGLUnorderedSet::ConstIterator x);
SGLUnorderedSet::ConstIterator is a constant iterator for SGLUnorderedSet and points towards an element in the SGLUnorderedSet. This can be used to iterate over the SGLUnorderedSet sequentially. Modification to the SGLUnorderedSet through a constant iterator is not possible. To do that, use a SGLUnorderedSet::Iterator instead. This is a template based class with no separate source file.
SGLUnorderedSet::ConstIterator stores a pointer to the memory location where SGLUnorderedSet keeps all its data.
Checks if this constant iterator points to a different element from x.
Returns the element that this constant iterator points to.
If this iterator is SGLUnorderedSet::constEnd, using this function will crash.
Increments the constant iterator to point towards the next element and returns the new constant iterator.
SGLUnorderedSet::ConstIterator is circular, incrementing SGLUnorderedSet::constEnd gives SGLUnorderedSet::constBegin and decrementing SGLUnorderedSet::constBegin gives SGLUnorderedSet::constEnd.
Increments the constant iterator to point towards the next element and returns the old constant iterator.
SGLUnorderedSet::ConstIterator is circular, incrementing SGLUnorderedSet::constEnd gives SGLUnorderedSet::constBegin and decrementing SGLUnorderedSet::constBegin gives SGLUnorderedSet::constEnd.
Decrements the constant iterator to point towards the previous element and returns the new constant iterator.
SGLUnorderedSet::ConstIterator is circular, incrementing SGLUnorderedSet::constEnd gives SGLUnorderedSet::constBegin and decrementing SGLUnorderedSet::constBegin gives SGLUnorderedSet::constEnd.
Decrements the constant iterator to point towards the previous element and returns the old constant iterator.
SGLUnorderedSet::ConstIterator is circular, incrementing SGLUnorderedSet::constEnd gives SGLUnorderedSet::constBegin and decrementing SGLUnorderedSet::constBegin gives SGLUnorderedSet::constEnd.
Checks if this constant iterator points to the same element as x.
©2025 05524F.sg (Singapore)