I'm working with a collection which can only be iterated once (stemming, I think, from how this collection proxies search results returned via a paged network API).
At present the behaviour is that if iteration is attempted a second time, the new iterator acts as if the collection is empty.
This feels a bit wrong to me; I'd be more comfortable if it raised an exception.
I can't find any chapter or verse indicating what the right convention is here. Is there one?