<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osyo-manga</author_name>
  <author_url>https://blog.hatena.ne.jp/osyo-manga/</author_url>
  <blog_title>Secret Garden(Instrumental)</blog_title>
  <blog_url>https://secret-garden.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>C++20</anon>
  </categories>
  <description>一人 C++20 Advent Calendar 2019 7日目の記事になります。 autoパラメータによる関数テンプレートの簡易定義 C++ 14 で実装されたジェネリックラムダでは引数型として auto が使えました。 auto plus = [](auto a, auto b) { return a + b; }; plus(1, 2); // =&gt; 3 これに伴い C++20 では通常の関数でも引数型に auto が使用できるようになります。 #include &lt;iostream&gt; auto plus(auto a, auto b) { return a + b; } // 以下と同…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2019%2F12%2F07%2F232515&quot; title=&quot;【一人 C++20 Advent Calendar 2019】autoパラメータによる関数テンプレートの簡易定義【7日目】 - Secret Garden(Instrumental)&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>2019-12-07 23:25:15</published>
  <title>【一人 C++20 Advent Calendar 2019】autoパラメータによる関数テンプレートの簡易定義【7日目】</title>
  <type>rich</type>
  <url>https://secret-garden.hatenablog.com/entry/2019/12/07/232515</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
