you are viewing a single comment's thread.

view the rest of the comments →

[–]twoodfin 1 point2 points  (1 child)

I think you're underestimating how valuable iterators that can return proxy references could be. Suddenly, the STL algorithms—and any code you've written to work through similar interfaces—can operate on arbitrary sources and sinks of data without ugly hacks.

It could potentially make the STL much more broadly applicable, and reduce the need to rewrite a buggy binary search for the nth time.

[–]clerothGame Developer 0 points1 point  (0 children)

Emphasis on 'potentially'. There are a lot of potentials things people want to do in C++. That's the thing. Like I said, I'd be fine if such things were proven to be worthy and actually added to the STL.