3 ms·
> If this becomes a C++ feature, imagine how many data structures we would need to support? C++ already solved that problem. Iterator are designed so that an a
by monkeyelite 1y ago
> If this becomes a C++ feature, imagine how many data structures we would need to support?
C++ already solved that problem. Iterator are designed so that an algorithm can be written once and used with multiple data structures.
- lucasoshiro 1y agoSo we can go back to just use them and just write a new library
- monkeyelite 1y agoYou don’t need the standard library to make iterators.
- lucasoshiro 1y agoSo you can use it. I really don't see your point