filter_view
does not have a const begin.
But I wonder why isn't there a member or free function on it that would return some_filter_view type that is that is same as filter_view except it has a const begin(). Obviously this method would be O(n), but it would be fine since it is explicit in code.
Is it just that it is too much work to standardize/ too big of a compile slowdown, or are there other reasons?
Basic example of what I would want:
void fn(){
std::array<int,5> arr{1,2,3,4,5};
const auto filtered = arr | std::views::filter([](auto){return true;});
filtered.begin(); // does not compile
// --would be nice if we could do
// const auto filtered = arr | std::views::filter([](auto){return true;}) | eval_begin;
// --now filtered.begin() can be called
}