mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Made the matrix_exp iterator a proper iterator
This commit is contained in:
parent
95ac81fa10
commit
015643e078
@ -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_)
|
||||
|
Loading…
Reference in New Issue
Block a user