0024831: Make iterators of NCollection classes STL-compatible
[occt.git] / src / NCollection / NCollection_Array2.hxx
index e95fa69..c8a13aa 100644 (file)
 template <class TheItemType> class NCollection_Array2
   : public NCollection_BaseCollection<TheItemType>
 {
- public:
+public:
+  //! STL-compliant typedef for value type
+  typedef TheItemType value_type;
+
+public:
   // **************** Implementation of the Iterator interface.
   class Iterator : public NCollection_BaseCollection<TheItemType>::Iterator
   {