{"provider_url":"https://hatena.blog","version":"1.0","width":"100%","image_url":null,"description":"gcc\u30d0\u30fc\u30b8\u30e7\u30f34.2.4\u3068VisualStudio2005\u3068\u3067\u306fstl::vector\u306eerase\u30e1\u30bd\u30c3\u30c9\u306e\u6319\u52d5\u304c\u9055\u3046\u2026\u5177\u4f53\u7684\u306b\u306f vector<int> a; a.push_back(10); a.push_back(0); a.push_back(11); a.push_back(0); a.push_back(12); a.push_back(0); vector<int>::iterator ite = a.begin(); while( ite != a.end() ){ if( (*ite) == 0 ){ a.erase(ite); }else{ ite++; } }\u3068\u3084\u3063\u3066\u3082\u2026","author_url":"https://blog.hatena.ne.jp/malibu-bulldog/","url":"https://malibu-bulldog.hatenadiary.org/entry/20081128/1227845790","published":"2008-11-28 13:16:30","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmalibu-bulldog.hatenadiary.org%2Fentry%2F20081128%2F1227845790\" title=\"vector\u306eerase - malibu-bulldog\u306e\u65e5\u8a18\" 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":"malibu-bulldog\u306e\u65e5\u8a18","type":"rich","author_name":"malibu-bulldog","categories":["Program Technique"],"blog_url":"https://malibu-bulldog.hatenadiary.org/","title":"vector\u306eerase","provider_name":"Hatena Blog"}