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 Comparator› class SGLMultiSet::ConstIterator;
part of SGEXTN module SG_Containers
constant iterator for SGLMultiSet
list of all including inherited members
preprocessor file inclusion directive: #include ‹SGLMultiSet.h›
CMake target for BuildLah: SGEXTN::SG_Containers
see this link for more information about BuildLah
parent class: (none)
children classes: (none)
bool operator!=(SGLMultiSet::ConstIterator x);
const T& operator*();
SGLMultiSet::ConstIterator operator++(int);
SGLMultiSet::ConstIterator& operator++();
SGLMultiSet::ConstIterator& operator--();
SGLMultiSet::ConstIterator operator--(int);
bool operator==(SGLMultiSet::ConstIterator x);
SGLMultiSet::ConstIterator is a constant iterator for SGLMultiSet and points towards an element in the SGLMultiSet. This can be used to iterate over the SGLMultiSet sequentially. Modification to the SGLMultiSet through a constant iterator is not possible. To do that, use a SGLMultiSet::Iterator instead. This is a template based class with no separate source file.
SGLMultiSet::ConstIterator stores a pointer to the memory location where SGLMultiSet 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 SGLMultiSet::constEnd, using this function will crash.
Increments the constant iterator to point towards the next element and returns the old constant iterator.
SGLMultiSet::ConstIterator is circular, incrementing SGLMultiSet::constEnd gives SGLMultiSet::constBegin and decrementing SGLMultiSet::constBegin gives SGLMultiSet::constEnd.
Increments the constant iterator to point towards the next element and returns the new constant iterator.
SGLMultiSet::ConstIterator is circular, incrementing SGLMultiSet::constEnd gives SGLMultiSet::constBegin and decrementing SGLMultiSet::constBegin gives SGLMultiSet::constEnd.
Decrements the constant iterator to point towards the previous element and returns the new constant iterator.
SGLMultiSet::ConstIterator is circular, incrementing SGLMultiSet::constEnd gives SGLMultiSet::constBegin and decrementing SGLMultiSet::constBegin gives SGLMultiSet::constEnd.
Decrements the constant iterator to point towards the previous element and returns the old constant iterator.
SGLMultiSet::ConstIterator is circular, incrementing SGLMultiSet::constEnd gives SGLMultiSet::constBegin and decrementing SGLMultiSet::constBegin gives SGLMultiSet::constEnd.
Checks if this constant iterator points to the same element as x.
©2025 05524F.sg (Singapore)