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