From 3bd00085f717908b2aac5dd1c9700d013e58aba7 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Thu, 29 Jul 2010 13:52:22 +0000 Subject: [PATCH] made MatConstIterator STL compliant --- modules/core/include/opencv2/core/core.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/core/include/opencv2/core/core.hpp b/modules/core/include/opencv2/core/core.hpp index 5bc8f788b..a64ee72f7 100644 --- a/modules/core/include/opencv2/core/core.hpp +++ b/modules/core/include/opencv2/core/core.hpp @@ -2424,6 +2424,9 @@ class CV_EXPORTS MatConstIterator_ public: typedef _Tp value_type; typedef int difference_type; + typedef const _Tp* pointer; + typedef const _Tp& reference; + typedef std::random_access_iterator_tag iterator_category; //! default constructor MatConstIterator_();