<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohhoy</author_name>
  <author_url>https://blog.hatena.ne.jp/yohhoy/</author_url>
  <blog_title>yohhoyの日記</blog_title>
  <blog_url>https://yohhoy.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>プログラミング言語C++の関数型(function type)には左辺値(lvalue)しか存在しないが（→id:yohhoy:20200530）、左辺値参照型(R (&amp;)(Args...))／右辺値参照型(R (&amp;&amp;)(Args...))いずれにも束縛できる。そう、よかったね。 #include &lt;utility&gt; using std::move; // 右辺値参照型(T&amp;&amp;)を返す関数 void f() {} // 関数型void() void ( &amp;lref1)() = f; // OK void (&amp;&amp;rref1)() = f; // OK: 右辺値参照型だがlvalue束縛可能 vo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20200603%2Fp1&quot; title=&quot;関数型への参照型にまつわる特例ルール - yohhoyの日記&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>2020-06-03 00:00:00</published>
  <title>関数型への参照型にまつわる特例ルール</title>
  <type>rich</type>
  <url>https://yohhoy.hatenadiary.jp/entry/20200603/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
