Код: Выделить всё
for (std::map::iterator it=mymap.begin(); it!=mymap.end(); ++it){
std::cout first
Подробнее здесь: [url]https://stackoverflow.com/questions/14555751/implications-of-using-auto-to-iterate-over-a-c-stdmap-data-structure[/url]Код: Выделить всё
for (std::map::iterator it=mymap.begin(); it!=mymap.end(); ++it){
std::cout first
Подробнее здесь: [url]https://stackoverflow.com/questions/14555751/implications-of-using-auto-to-iterate-over-a-c-stdmap-data-structure[/url]