0024831: Make iterators of NCollection classes STL-compatible
[occt.git] / src / NCollection / NCollection_BaseMap.hxx
index 6060a33..c564f97 100644 (file)
@@ -90,6 +90,12 @@ class NCollection_BaseMap
       myNode = NULL;
       PNext();
     }
+    
+    //! Performs comparison of two iterators.
+    virtual Standard_Boolean IsEqual (const Iterator& theOther) const
+    {
+      return myBucket == theOther.myBucket && myNode == theOther.myNode;
+    }
 
   protected:
     //! PMore