Made the matrix_exp iterator a proper iterator

This commit is contained in:
Davis King 2012-12-27 11:47:01 -05:00
parent 95ac81fa10
commit 015643e078

View File

@ -7,6 +7,7 @@
#include "../is_kind.h"
#include "matrix_fwd.h"
#include "matrix_exp_abstract.h"
#include <iterator>
namespace dlib
{
@ -56,7 +57,7 @@ namespace dlib
template <typename EXP> class matrix_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>;
matrix_exp_iterator(const EXP& m_, long r_, long c_)