<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohhoy</author_name>
  <author_url>https://blog.hatena.ne.jp/yohhoy/</author_url>
  <blog_title>yohhoyの日記</blog_title>
  <blog_url>https://yohhoy.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>Boost</anon>
  </categories>
  <description>C++11標準ライブラリに新しく追加されたアルゴリズムstd::iotaについてメモ。 シーケンス要素へ昇順で連続値を代入するアルゴリズム。 最初はitoaかと思い「なぜに今更？標準化したの？」 ギリシャ文字の ι/イオタ から来ているらしい。江添さんの本の虫 が詳しい。 Boost.Rangeライブラリには Rangeベース版iota が存在する。 #include &lt;algorithm&gt; int a[5]; std::iota(a, a+5, 1); // a == {1,2,3,4,5} #include &lt;boost/range/algorithm_ext/iota.hpp&gt; int …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20120118%2Fp1&quot; title=&quot;iotaアルゴリズム - yohhoyの日記&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>2012-01-18 00:00:00</published>
  <title>iotaアルゴリズム</title>
  <type>rich</type>
  <url>https://yohhoy.hatenadiary.jp/entry/20120118/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
