Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



So we can go back to just use them and just write a new library


You don’t need the standard library to make iterators.


So you can use it.

I really don't see your point




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: