<?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 24日目の記事になります。 状態を持たないラムダ式がデフォルト構築可能、代入可能となった 状態を持たないラムダ式がデフォルト構築可能、代入可能となりました。 次のようにラムダ式の型からオブジェクトを定義することができます。 #include &lt;iostream&gt; #include &lt;map&gt; int main(){ auto hello_world = [] { std::cout &lt;&lt; &quot;hello, world&quot; &lt;&lt; std::endl; }; // lambda の型から新しいオブジェクトを生成できる decltype(hel…</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%2F24%2F000739&quot; title=&quot;【一人 C++20 Advent Calendar 2019】状態を持たないラムダ式がデフォルト構築可能、代入可能となった【24日目】 - 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-24 00:07:39</published>
  <title>【一人 C++20 Advent Calendar 2019】状態を持たないラムダ式がデフォルト構築可能、代入可能となった【24日目】</title>
  <type>rich</type>
  <url>https://secret-garden.hatenablog.com/entry/2019/12/24/000739</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
