region: support default construction of step iterator
This allows use in some std::algorithms that assume the iterator conforms to LegacyIterator
This commit is contained in:
parent
7261bd7776
commit
b70c20d284
@ -146,6 +146,12 @@ namespace cruft {
|
|||||||
hi (_hi)
|
hi (_hi)
|
||||||
{ ; }
|
{ ; }
|
||||||
|
|
||||||
|
iterator ()
|
||||||
|
: cursor {}
|
||||||
|
, lo {}
|
||||||
|
, hi {}
|
||||||
|
{ ; }
|
||||||
|
|
||||||
|
|
||||||
const point_t& operator* (void) const& { return cursor; }
|
const point_t& operator* (void) const& { return cursor; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user