2012年10月26日 - The magic lies with Boost.Range's map_values adaptor: #include for(auto&& i : foo | boost::adaptors::map_values){ ...
stackoverflow.com