What does this for loop mean?

Feb 27, 2016 at 7:42pm
I've seen this type of for loop quite a bit on c++ forumns but I've never really understood what it exactly meant. What I mean is the syntax, Of course I understand it will keep looping until the condition evaluates to false like all loops I assume but how?
 
    for (auto some_var : some_other_var)
Feb 27, 2016 at 7:58pm
Last edited on Feb 27, 2016 at 7:58pm
Topic archived. No new replies allowed.