int main()

{

    for (auto i : iota(10))

        Get();

 

    // or

 

    for_each(iota(10), [](auto i) {

        Get();

    });

 

}

Doesn't `iota(10)` mean that it will start from 10 and produce unbounded numbers?
Or I'm misunderstanding the documentation and the examples below (with the the iota_view and take_view) - https://en.cppreference.com/w/cpp/ranges/iota_view?