j
k
j a
j l
What about: "...sequences. Note that the act of looking at an iterator's elements mutates the iterator."
What about:
"...sequences. Note that the act of looking at an iterator's elements mutates the iterator."
That doesn't belong in the spec either -- nothing requires an iterator to have mutable state, let alone to mutate it when next() is called.
Back to the thread
Back to the list