#include <Standard_OutOfRange.hxx>
#endif
-#ifdef WNT
-// Disable the warning "operator new unmatched by delete"
-#pragma warning (push)
-#pragma warning (disable:4291)
-#endif
-
/**
* Purpose: An indexed map is used to store keys and to bind
* an index to them. Each new key stored in the map
#endif
return myMap->ChangeFromIndex(myIndex);
}
- //! Operator new for allocating iterators
- void* operator new(size_t theSize,
- const Handle(NCollection_BaseAllocator)& theAllocator)
- { return theAllocator->Allocate(theSize); }
private:
NCollection_IndexedDataMap * myMap; //!< Pointer to the map being iterated
};
-#ifdef WNT
-#pragma warning (pop)
-#endif
-
#endif