Commit 5df12b30 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

add operator== for question/section iterators

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 77c77a5f
......@@ -893,6 +893,13 @@ SectionIterator<T>::operator->() const
return (impl_->it_.operator->());
template <typename T>
SectionIterator<T>::operator==(const SectionIterator<T>& other) const
return (impl_->it_ == other.impl_->it_);
template <typename T>
SectionIterator<T>::operator!=(const SectionIterator<T>& other) const
......@@ -486,6 +486,7 @@ public:
SectionIterator<T> operator++(int);
const T& operator*() const;
const T* operator->() const;
bool operator==(const SectionIterator<T>& other) const;
bool operator!=(const SectionIterator<T>& other) const;
SectionIteratorImpl<T>* impl_;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment