I was wondering if you would consider switching from a deleted default constructor for NodeIterator to a defaulted one, to make the NodeView c++20-range compatible.
The concept std::ranges::range requires that NodeIterator (return value of NodeView::end()) is a sentinel for NodeIterator (return value of NodeView::begin()), which in turn requires that NodeIterator is default constructable.
If you wish, I can also directly provide a PR with this change.
I was wondering if you would consider switching from a
delete
d default constructor forNodeIterator
to adefault
ed one, to make theNodeView
c++20-range compatible.The concept
std::ranges::range
requires thatNodeIterator
(return value ofNodeView::end()
) is a sentinel forNodeIterator
(return value ofNodeView::begin()
), which in turn requires thatNodeIterator
is default constructable.If you wish, I can also directly provide a PR with this change.