{"categories":["C++"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20090929%2F1254211346\" title=\" fusion::map - 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>","title":" fusion::map","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/faith_and_brave/","description":"fusion\u306emap\u306f\u3001\u578b\u3092\u30ad\u30fc\u306b\u3057\u3066\u5024\u3092\u53d6\u308a\u51fa\u3059\u9023\u60f3\u30b7\u30fc\u30b1\u30f3\u30b9\u3067\u3059\u3002 \u307e\u305a\u3001fusion::map\u306e\u8981\u7d20\u306b\u306ffusion::pair\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002 fusion::pair\u306fstd::pair\u3068\u9055\u3044\u3001\u5024\u3068\u3057\u3066\u306fsecond\u306e\u307f\u4fdd\u6301\u3057\u307e\u3059\u3002 #include <iostream> #include <boost/fusion/include/pair.hpp> namespace fusion = boost::fusion; int main() { fusion::pair<int, char> p('X'); std::cout << p << std::endl; // X std:\u2026","width":"100%","blog_url":"https://faithandbrave.hateblo.jp/","blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","version":"1.0","url":"https://faithandbrave.hateblo.jp/entry/20090929/1254211346","author_name":"faith_and_brave","provider_url":"https://hatena.blog","type":"rich","image_url":null,"published":"2009-09-29 17:02:26","height":"190"}