cpp-for

range for

string str("some string");  
// range for 语句
for(auto &c : str)
{
c = toupper(c);
}

for (auto&& [first,second] : mymap) {
// use first and second
}