m.erase(s.begin().s.end());
for( auto& key : set ) map.erase(key) ; // simplest, not the most efficient
for( auto& key : set ) map.erase(key) ;
123456
for( auto iter = set.begin(), end_iter = set.end() ; iter != end_iter ; ++iter ) { auto& key = *iter ; map.erase(key) ; }