for(auto i = x.begin() ; i != x.end() ; ++i) { if(i->first != "a.out") { for(auto j=i->second.begin(); j!=i->second.end() ; ++j) { } } }