Edit comments in Map and Set classes

This commit is contained in:
Daniel Chappuis 2021-09-28 12:58:50 +02:00
parent c0cefa251f
commit 65e99add46
2 changed files with 5 additions and 5 deletions

View File

@ -107,7 +107,7 @@ class Map {
/// Class Iterator
/**
* This class represents an iterator for the Map
* This class represents an iterator for the Map.
*/
class Iterator {
@ -177,13 +177,13 @@ class Map {
return &(mMap->mEntries[mCurrentEntryIndex]);
}
/// Post increment (it++)
/// Pre increment (++it)
Iterator& operator++() {
advance();
return *this;
}
/// Pre increment (++it)
/// Post increment (it++)
Iterator operator++(int) {
Iterator tmp = *this;
advance();

View File

@ -176,13 +176,13 @@ class Set {
return &(mSet->mEntries[mCurrentEntryIndex]);
}
/// Post increment (it++)
/// Pre increment (++it)
Iterator& operator++() {
advance();
return *this;
}
/// Pre increment (++it)
/// Post increment (it++)
Iterator operator++(int) {
Iterator tmp = *this;
advance();