Open CASCADE Technology  7.3.1.dev
Data Structures
NCollection_StlIterator.hxx File Reference
#include <Standard_Assert.hxx>
#include <iterator>

Data Structures

class  NCollection_StlIterator< Category, BaseIterator, ItemType, IsConstant >
 Helper class that allows to use NCollection iterators as STL iterators. NCollection iterator can be extended to STL iterator of any category by adding necessary methods: STL forward iterator requires IsEqual method, STL bidirectional iterator requires Previous method, and STL random access iterator requires Offset and Differ methods. See NCollection_Vector as example of declaring custom STL iterators. More...