<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>derwind</author_name>
  <author_url>https://blog.hatena.ne.jp/derwind/</author_url>
  <blog_title>らんだむな記憶</blog_title>
  <blog_url>https://randommemory.hatenablog.com/</blog_url>
  <categories>
    <anon>C/C++</anon>
  </categories>
  <description>#include &lt;cstdio&gt; #include &lt;array&gt; int main(void) { constexpr std::array a{1, 2, 3}; for (const auto&amp; e: a) { printf(&quot;%d\n&quot;, e); } return 0; } こういうものを書いたとして、いかにもな箇所が std::array&lt;int, 3&gt; a{1, 2, 3}; であれば clang++ -std=c++11 くらいでコンパイルできる。が、上記までくると clang++ -std=c++17 以上でないとコンパイルできない。というか・・・これどういう感じなの？推論が…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2021%2F06%2F24%2F004641&quot; title=&quot;std::array の引数を省略してしまう - らんだむな記憶&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>2021-06-24 00:46:41</published>
  <title>std::array の引数を省略してしまう</title>
  <type>rich</type>
  <url>https://randommemory.hatenablog.com/entry/2021/06/24/004641</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
