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