<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mstybird</author_name>
  <author_url>https://blog.hatena.ne.jp/mstybird/</author_url>
  <blog_title>msty開発メモ</blog_title>
  <blog_url>https://msty.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>メモ書きです。 std::remove_if 削除する項目を判断する関数を与えて、指定した要素を削除します。これを読んだだけでは要素数は変化しません 削除すべき要素が末尾に集中するので、eraseメソッドでの処理が高速化できます C++ Vector std::remove_if クラス、構造体で使う 条件式となる関数を与えるだけなので、クラスなどでも利用可能。ただし、条件分岐に使う関数の引数にはそのベクタの要素となる型を指定すること。 要素の削除の高速化 vectorの処理においてボトルネックになりやすいポイント eraseメソッドを使う場合だとは指定した要素を削除して、その後、その空白を埋…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmsty.hatenablog.jp%2Fentry%2F2016%2F10%2F19%2F214748&quot; title=&quot;【C++】簡単なvectorテクニック - msty開発メモ&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>2016-10-19 21:47:48</published>
  <title>【C++】簡単なvectorテクニック</title>
  <type>rich</type>
  <url>https://msty.hatenablog.jp/entry/2016/10/19/214748</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
