{"blog_title":"shikaku's blog","author_url":"https://blog.hatena.ne.jp/shikaku/","type":"rich","blog_url":"https://blog.systemjp.net/","image_url":null,"height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F20100203%2Fp5\" title=\"map&lt;&gt;\u3067\u5b58\u5728\u3057\u306a\u3044\u30ad\u30fc\u5224\u5b9a - shikaku&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://blog.systemjp.net/entry/20100203/p5","categories":["CPP","STL"],"title":"map<>\u3067\u5b58\u5728\u3057\u306a\u3044\u30ad\u30fc\u5224\u5b9a","provider_url":"https://hatena.blog","width":"100%","provider_name":"Hatena Blog","author_name":"shikaku","version":"1.0","published":"2010-02-03 00:00:00","description":"find()\u3067\u8abf\u3079\u308b\u3002 // \u30ad\u30fc\u3068\u5024\u304c \u304c string \u3068 string \u306a\u30de\u30c3\u30d7\u3092\u751f\u6210 map<string, string> itemMap; // \u30de\u30c3\u30d7\u306b\u5024\u3092\u633f\u5165 itemMap.insert(pair<string, string>(\"hoge\", \"\u307b\u3052\")); itemMap.insert(pair<string, string>(\"foo\", \"\u3075\u30fc\")); if( itemMap.end() != itemMap.find(\"foo\") ){ // \u767a\u898b }else{ // \u898b\u3064\u304b\u3089\u306a\u3044 }\u3053\u3063\u3061\u3067\u3082\u3044\u3044\u307f\u305f\u3044 // \u30de\u30c3\u30d7\u306b\u5024\u3092\u633f\u5165 itemMap.insert(pai\u2026"}