<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toburau</author_name>
  <author_url>https://blog.hatena.ne.jp/toburau/</author_url>
  <blog_title>ゲームが作れるようになるまでがんばる日記</blog_title>
  <blog_url>https://toburau.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>remove_copy()は指定した値を取り除きながらコピーするアルゴリズムで、replace_copy()は置換しながらコピーするアルゴリズム。 _ifが付いたアルゴリズムはcount_if()と同様に条件を判定する関数を指定して処理を行うもの。 コピー先にはあらかじめコピーできる十分なサイズを確保しておく必要がある。 remove_copy_if()とreplace_copy()を使ったプログラムは次の通り。 #include &lt;iostream&gt; #include &lt;vector&gt; #include &lt;algorithm&gt; using namespace std; // 10000超えて…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20090426%2F1240752171&quot; title=&quot;remove_copy, replace_copy - ゲームが作れるようになるまでがんばる日記&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>2009-04-26 22:22:51</published>
  <title>remove_copy, replace_copy</title>
  <type>rich</type>
  <url>https://toburau.hatenablog.jp/entry/20090426/1240752171</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
