c++ 23 std::ranges impl python3 for i in range(n) co_yield gen example
website: https://www.gamefunc.top:9029
github: https://github.com/gamefunc
qq: 32686647
weixin: gamefunc
mail: fevefun@hotmail.com
for(auto i : range(10)){
std::cout << i << ", ";
}// for(auto i : range(10));
std::cout << "\n\n";
for(auto i : range(10, 1, -3)){
std::cout << i << ", ";
}// for(auto i : range(10, 1, -3));
return 0;
MIT; free to use and modify, but need keep the above information.