Commit 015643e0 authored by Davis King's avatar Davis King

Made the matrix_exp iterator a proper iterator

parent 95ac81fa
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include "../is_kind.h" #include "../is_kind.h"
#include "matrix_fwd.h" #include "matrix_fwd.h"
#include "matrix_exp_abstract.h" #include "matrix_exp_abstract.h"
#include <iterator>
namespace dlib namespace dlib
{ {
...@@ -56,7 +57,7 @@ namespace dlib ...@@ -56,7 +57,7 @@ namespace dlib
template <typename EXP> class matrix_exp; template <typename EXP> class matrix_exp;
template <typename EXP> template <typename EXP>
class matrix_exp_iterator class matrix_exp_iterator : public std::iterator<std::forward_iterator_tag, typename matrix_traits<EXP>::type>
{ {
friend class matrix_exp<EXP>; friend class matrix_exp<EXP>;
matrix_exp_iterator(const EXP& m_, long r_, long c_) matrix_exp_iterator(const EXP& m_, long r_, long c_)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment