This would be very helpful when using HOF with range-v3 (e.g. with `views::sliding`) or C++20 ranges.