bug fix
This commit is contained in:
@@ -41,7 +41,7 @@ namespace TinySTL{
|
|||||||
listIterator& operator --();
|
listIterator& operator --();
|
||||||
listIterator operator --(int);
|
listIterator operator --(int);
|
||||||
T& operator *(){ return p->data; }
|
T& operator *(){ return p->data; }
|
||||||
T* operator &(){ return &(operator*()); }
|
T* operator ->(){ return &(operator*()); }
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
friend bool operator ==(const listIterator<T>& lhs, const listIterator<T>& rhs);
|
friend bool operator ==(const listIterator<T>& lhs, const listIterator<T>& rhs);
|
||||||
|
|||||||
Reference in New Issue
Block a user