Edit comments in Map and Set classes
This commit is contained in:
parent
c0cefa251f
commit
65e99add46
|
@ -107,7 +107,7 @@ class Map {
|
||||||
|
|
||||||
/// Class Iterator
|
/// Class Iterator
|
||||||
/**
|
/**
|
||||||
* This class represents an iterator for the Map
|
* This class represents an iterator for the Map.
|
||||||
*/
|
*/
|
||||||
class Iterator {
|
class Iterator {
|
||||||
|
|
||||||
|
@ -177,13 +177,13 @@ class Map {
|
||||||
return &(mMap->mEntries[mCurrentEntryIndex]);
|
return &(mMap->mEntries[mCurrentEntryIndex]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Post increment (it++)
|
/// Pre increment (++it)
|
||||||
Iterator& operator++() {
|
Iterator& operator++() {
|
||||||
advance();
|
advance();
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Pre increment (++it)
|
/// Post increment (it++)
|
||||||
Iterator operator++(int) {
|
Iterator operator++(int) {
|
||||||
Iterator tmp = *this;
|
Iterator tmp = *this;
|
||||||
advance();
|
advance();
|
||||||
|
|
|
@ -176,13 +176,13 @@ class Set {
|
||||||
return &(mSet->mEntries[mCurrentEntryIndex]);
|
return &(mSet->mEntries[mCurrentEntryIndex]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Post increment (it++)
|
/// Pre increment (++it)
|
||||||
Iterator& operator++() {
|
Iterator& operator++() {
|
||||||
advance();
|
advance();
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Pre increment (++it)
|
/// Post increment (it++)
|
||||||
Iterator operator++(int) {
|
Iterator operator++(int) {
|
||||||
Iterator tmp = *this;
|
Iterator tmp = *this;
|
||||||
advance();
|
advance();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user