{"version":"1.0","blog_url":"https://faithandbrave.hateblo.jp/","author_url":"https://blog.hatena.ne.jp/faith_and_brave/","title":" std::map\u3092Boost.Foreach\u3067\u56de\u3059\u3068\u304d\u306b\u30ad\u30fc\u3068\u5024\u3092\u7c21\u5358\u306b\u53d6\u308a\u51fa\u3059","provider_url":"https://hatena.blog","description":"gmane.comp.lib.boost.devel - \u3010Foreach\u3011 Proposal to simplify using Boost.Foreach with maps \u3053\u3093\u306a\u3053\u3068\u3067\u304d\u305f\u3093\u3060\uff01 #include <iostream> #include <map> #include <boost/tuple/tuple.hpp> #include <boost/foreach.hpp> int main() { std::map<int, int> m; m[1] = 3; m[2] = 2; m[3] = 1; int key, value; BOOST_FOREACH(boost:\u2026","categories":["C++"],"provider_name":"Hatena Blog","width":"100%","url":"https://faithandbrave.hateblo.jp/entry/20091002/1254469396","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20091002%2F1254469396\" title=\" std::map\u3092Boost.Foreach\u3067\u56de\u3059\u3068\u304d\u306b\u30ad\u30fc\u3068\u5024\u3092\u7c21\u5358\u306b\u53d6\u308a\u51fa\u3059 - Faith and Brave - C++\u3067\u904a\u307c\u3046\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","author_name":"faith_and_brave","type":"rich","published":"2009-10-02 16:43:16","image_url":null,"height":"190"}