diff -r 022428df37c9 -r 7d93aa4d2bf3 sourcehook/sh_list.h --- a/sourcehook/sh_list.h Tue Sep 13 16:47:42 2005 +0000 +++ b/sourcehook/sh_list.h Tue Sep 13 16:47:42 2005 +0000 @@ -137,6 +137,7 @@ m_This = m_This->next; return *this; } + //post increment iterator operator++(int) { iterator old(*this); @@ -164,6 +165,10 @@ { return (m_This == where.m_This); } + bool operator ==(const iterator &where) const + { + return (m_This == where.m_This); + } private: ListNode *m_This; };