Open CASCADE Technology 7.8.2.dev
NCollection_Iterator.hxx File Reference
#include <Standard_Assert.hxx>
#include <iterator>

Data Structures

class  NCollection_Iterator< Container >
 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...