sourcehook/sh_list.h
changeset 101 7d93aa4d2bf3
parent 99 bfbb04d6683f
child 107 1d6e7e0bdcd9
     1.1 --- a/sourcehook/sh_list.h	Tue Sep 13 16:47:42 2005 +0000
     1.2 +++ b/sourcehook/sh_list.h	Tue Sep 13 16:47:42 2005 +0000
     1.3 @@ -137,6 +137,7 @@
     1.4  				m_This = m_This->next;
     1.5  			return *this;
     1.6  		}
     1.7 +		//post increment
     1.8  		iterator operator++(int)
     1.9  		{
    1.10  			iterator old(*this);
    1.11 @@ -164,6 +165,10 @@
    1.12  		{
    1.13  			return (m_This == where.m_This);
    1.14  		}
    1.15 +		bool operator ==(const iterator &where) const
    1.16 +		{
    1.17 +			return (m_This == where.m_This);
    1.18 +		}
    1.19  	private:
    1.20  		ListNode *m_This;
    1.21  	};