|
|
|
|
|
by Twisol
2612 days ago
|
|
Ah, I understand. You're referring to how iterators in C++ are generalized indices into their collections. Certainly, Rust iterators have a more constrained purpose. I personally prefer having separate constructs for iteration and indexing, so I think it's a matter of taste. |
|