<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>DOSEI</author_name>
  <author_url>https://blog.hatena.ne.jp/DOSEI/</author_url>
  <blog_title>DOSEIの日記</blog_title>
  <blog_url>https://dosei.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>プログラミング</anon>
    <anon>研究</anon>
    <anon>メモ</anon>
  </categories>
  <description>以下の例は昔のバージョンです。最新版は github に置いてみました。 github.com 実験で、全組合せに対して繰り返し処理をしたい時に使う。 先に使用例。 C++11 以降で使える range-based-for 文を使っているので、 gcc なら -std=c++11 (or -std=c++0x) が必要。 #include &lt;iostream&gt; #include &lt;vector&gt; #include &quot;combinations.hpp&quot; // この記事の下に実装があります。 void printVector(std::vector&lt;size_t&gt; const&amp; v) { for(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdosei.hatenadiary.jp%2Fentry%2F2015%2F09%2F21%2F200003&quot; title=&quot;Range based for の為の組み合わせ生成イテレータ - DOSEIの日記&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>2015-09-21 20:00:03</published>
  <title>Range based for の為の組み合わせ生成イテレータ</title>
  <type>rich</type>
  <url>https://dosei.hatenadiary.jp/entry/2015/09/21/200003</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
