using BOOST_FOREACH with std::map

来源:互联网 发布:域名为什么认证 编辑:程序博客网 时间:2024/06/11 17:51
typedef std::map<int, int> map_t;map_t mmap;  BOOST_FOREACH( map_t::value_type &i, mmap )    i.second++;