Код: Выделить всё
std::vector numbers = { 1, 2, 3, 4, 5, 6, 7 };
for ( auto xyz : numbers )
{
std::cout testing = { /*...blah...*/ };
for ( auto abc : testing )
{
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/6963894/how-to-use-range-based-for-loop-with-stdmap[/url]
Мобильная версия