Some standard library ranges provide the base() iterator move/factory conversion for their iterators which returns the iterator for previous base range, which is VERY useful for views like transform and filter. Sadly, flux has this feature only for some sequences and not for sequence iterators and cursors.
See
https://en.cppreference.com/w/cpp/ranges/transform_view/iterator/base.html
https://en.cppreference.com/w/cpp/ranges/filter_view/iterator.html#base
https://en.cppreference.com/w/cpp/ranges/enumerate_view/iterator/base.html
and so on.
Thanks!
Some standard library ranges provide the base() iterator move/factory conversion for their iterators which returns the iterator for previous base range, which is VERY useful for views like transform and filter. Sadly, flux has this feature only for some sequences and not for sequence iterators and cursors.
See
https://en.cppreference.com/w/cpp/ranges/transform_view/iterator/base.html
https://en.cppreference.com/w/cpp/ranges/filter_view/iterator.html#base
https://en.cppreference.com/w/cpp/ranges/enumerate_view/iterator/base.html
and so on.
Thanks!