{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmarishi.hatenadiary.org%2Fentry%2F20101127%2F1290840472\" title=\"remove\u306e\u6ce8\u610f\u70b9 - duost\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","published":"2010-11-27 15:47:52","url":"https://marishi.hatenadiary.org/entry/20101127/1290840472","provider_url":"https://hatena.blog","title":"remove\u306e\u6ce8\u610f\u70b9","categories":["C++","Programming"],"author_name":"MARISHI","height":"190","type":"rich","blog_url":"https://marishi.hatenadiary.org/","blog_title":"duost","description":"Effective STL \u7b2c\uff19\u9805 \u6d88\u53bb\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u6ce8\u610f\u3057\u3066\u9078\u629e\u3057\u3088\u3046\u9023\u7d9a\u30e1\u30e2\u30ea\u30b3\u30f3\u30c6\u30caContainer\u304c\u3042\u308b Container<int> c; \u3053\u306e\u30b3\u30f3\u30c6\u30ca\u306b\u542b\u307e\u308c\u3066\u3044\u308b100\u3068\u3044\u3046\u5024\u3092\u5168\u3066\u53d6\u308a\u9664\u304d\u305f\u3044\u5834\u5408\u3001 erase\u3068remove\u3092\u7528\u3044\u308b\u3002 \u6163\u7528\u7684\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a18\u8ff0\u304c\u3042\u308b\u3002 c.erase( remove( c.begin() , c.end() , 100 ) , c.end() ); \u30fb\u30fb\u30fb\u3089\u3057\u3044\u3002 remove\u306a\u3093\u3066\u3042\u3063\u305f\u306e\u304b\u3002 \u3069\u3046\u3044\u3046\u52d5\u4f5c\u3092\u3059\u308b\u306e\u304b\u77e5\u3089\u306a\u3044\u304c\u3001 \u3071\u3063\u3068\u898b\u3001remove\u306f\u7279\u5b9a\u306e\u5024\u3092\u524a\u9664\u3059\u308b\u95a2\u6570\u306b\u898b\u3048\u308b\u3002 \u306a\u306e\u3067\u3001\u4f55\u6545erase\u304c\u51fa\u3066\u304f\u308b\u306e\u304b\u5206\u304b\u3089\u3093\u3002 \u7b2c\uff13\uff12\u2026","author_url":"https://blog.hatena.ne.jp/MARISHI/","version":"1.0","image_url":null,"width":"100%"}