Example: std::range
#include <ranges>
#include <rlib/stdio.hpp>
#include <concepts>
// 1. std::invocable
auto filter(auto func, const auto &seq) {
return seq | std::views::filter(func);
}
int main() {
std::vector v{1,2,3,4,5,6,7,8,9};
auto res = filter([](auto i){return i%2==0;}, v);
rlib::println(rlib::printable_iter(res));
// 2. std::range doesn't has const begin()
}