loop for(int s:v) what does it mean?

Hello,
I'm reading Stroustrup book PPP using C++

And here I saw such loop for(int s : v){}
What does it mean such notation?

Thanks
That is a ranged based loop.

See: http://en.cppreference.com/w/cpp/language/range-for for more information.
Thanks
Topic archived. No new replies allowed.