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:
Danny Robson 2020-03-16 14:13:25 +11:00
parent 7261bd7776
commit b70c20d284

View File

@ -146,6 +146,12 @@ namespace cruft {
hi (_hi)
{ ; }
iterator ()
: cursor {}
, lo {}
, hi {}
{ ; }
const point_t& operator* (void) const& { return cursor; }