<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>MARISHI</author_name>
  <author_url>https://blog.hatena.ne.jp/MARISHI/</author_url>
  <blog_title>duost</blog_title>
  <blog_url>https://marishi.hatenadiary.org/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>Programming</anon>
  </categories>
  <description>Effective STL 第９項 消去オプションは注意して選択しよう連続メモリコンテナContainerがある Container&lt;int&gt; c; このコンテナに含まれている100という値を全て取り除きたい場合、 eraseとremoveを用いる。 慣用的には以下のような記述がある。 c.erase( remove( c.begin() , c.end() , 100 ) , c.end() ); ・・・らしい。 removeなんてあったのか。 どういう動作をするのか知らないが、 ぱっと見、removeは特定の値を削除する関数に見える。 なので、何故eraseが出てくるのか分からん。 第３２…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmarishi.hatenadiary.org%2Fentry%2F20101127%2F1290840472&quot; title=&quot;removeの注意点 - duost&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-11-27 15:47:52</published>
  <title>removeの注意点</title>
  <type>rich</type>
  <url>https://marishi.hatenadiary.org/entry/20101127/1290840472</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
