Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

foreache

Name: Anonymous 2014-01-20 18:58

what is you're opinion on foreache loops?

i don't like em cuz they ache in the fore

Name: Anonymous 2014-01-21 21:50


for (it = begin(collection); it.has_next(); it.advance())


obviously the for loop itself isn't the stream, the iterator is the stream, the for loop is just the consumer of the stream - but this is typically the one and only consumer for it so it's just useful to think of them together

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List