array list changes taken over
This commit is contained in:
parent
f35efa3cbe
commit
d9dcee3692
@ -116,7 +116,11 @@ public:
|
|||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
T operator*() {
|
T& operator*() {
|
||||||
|
return *value;
|
||||||
|
}
|
||||||
|
|
||||||
|
const T& operator*() const {
|
||||||
return *value;
|
return *value;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -128,6 +132,7 @@ public:
|
|||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//SHOULDDO this should be implemented as non-member
|
//SHOULDDO this should be implemented as non-member
|
||||||
bool operator==(const typename ArrayList<T, count_t>::Iterator& other) const {
|
bool operator==(const typename ArrayList<T, count_t>::Iterator& other) const {
|
||||||
return (value == other.value);
|
return (value == other.value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user