<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tera1707</author_name>
  <author_url>https://blog.hatena.ne.jp/tera1707/</author_url>
  <blog_title>tera1707’s blog</blog_title>
  <blog_url>https://tera1707.com/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>もくじ https://tera1707.com/entry/2022/02/06/144447 やりたいこと for文と言えば、下記のようなものと思っていた。 for (int i = 0; i &lt; 5; i++) { std::cout &lt;&lt; i &lt;&lt; std::endl; } 出力 0 1 2 3 4 が、今日こんなfor文を見た。 std::vector&lt;int&gt; list = {1,2,3,4,5}; for (auto v : list) { std::cout &lt;&lt; v &lt;&lt; std::endl; } これは何なのか？調べたい。 しらべたこと この書き方は「Range-based…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftera1707.com%2Fentry%2F2025%2F04%2F10%2F223201&quot; title=&quot; 範囲for文 - tera1707’s blog&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>2025-04-10 22:32:01</published>
  <title> 範囲for文</title>
  <type>rich</type>
  <url>https://tera1707.com/entry/2025/04/10/223201</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
