Quantcast
Channel: What is "for (x : y)"? - Stack Overflow
Viewing all articles
Browse latest Browse all 3

What is "for (x : y)"?

$
0
0

So i was looking around on the interwebs about threads and i came to a blog/tutorial thing about threads but what confused me was this line that he used

for (auto& thread : threads)  

not really sure what that does
Here is a link to the blog i'm talking about LINK
Thanks to whoever answers this question for me
PS can you also give me a reference so i can read up on what that does and other related things I seem to be blind when searching for one


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images