aboutsummaryrefslogtreecommitdiff
path: root/backend/ListIterator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/ListIterator.hpp')
-rw-r--r--backend/ListIterator.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/ListIterator.hpp b/backend/ListIterator.hpp
index 30a556f..45f9acc 100644
--- a/backend/ListIterator.hpp
+++ b/backend/ListIterator.hpp
@@ -45,3 +45,8 @@ bool ListIterator<T>::operator != (const ListIterator<T> & rhs) const {
return this->here != nullptr;
}
+template <typename T>
+bool ListIterator<T>::operator ! () const {
+ return this->here == nullptr;
+}
+