{"blog_url":"https://jonigata.hatenadiary.org/","height":"190","width":"100%","url":"https://jonigata.hatenadiary.org/entry/20080822/1219405013","author_url":"https://blog.hatena.ne.jp/jonigata/","type":"rich","author_name":"jonigata","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjonigata.hatenadiary.org%2Fentry%2F20080822%2F1219405013\" title=\" \u3060\u304b\u3089\u3068\u3044\u3063\u3066 - \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30ae\u30f3\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_title":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30ae\u30f3\u30b0","published":"2008-08-22 20:36:53","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"description":"C++\u306estd::map\u3067\u307f\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u3068\u304d\u306b \u4f8b\u5916throw\u3057\u305f\u308a\u3057\u305f\u3089\u79c1\u3060\u3063\u3066\u6012\u308a\u307e\u3059\u3088\uff01 \u3060\u3063\u3066\u53d7\u3051\u53d6\u308b\u306e\u8d85\u3081\u3093\u3069\u304f\u3055\u3044\u3093\u3060\u3082\u3093 \u3067\u3082 std::map< std::string, std::string >::iterator i = m.find( \"abc\" ); if( i == m.end() ) { s = \"default\"; } else { s = (*i).second; }\u3068\u304b\u66f8\u304f\u306e\u3082\u3082\u3046\u30a4\u30e4\u3067\u3059\uff01 value_type\u3092boost::option\u306b\u3059\u308c\u3070\u3044\u3044\u306e\u304b\u306a","title":" \u3060\u304b\u3089\u3068\u3044\u3063\u3066","version":"1.0"}