<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Cryolite</author_name>
  <author_url>https://blog.hatena.ne.jp/Cryolite/</author_url>
  <blog_title>Cry's Blog</blog_title>
  <blog_url>https://blog.cryolite.net/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>http://d.hatena.ne.jp/Cryolite/20050418#p1で指摘した「非const参照引数が一時オブジェクトを取れない(13.3.3.1.4/3)」に関して，VC++では非const参照を取る関数を一時オブジェクトによって呼び出せます．しかし，これはVC++の独自拡張であり，C++標準に反しています．コンパイラの独自拡張をoffにすれば（/Zaスイッチ付きでコンパイルすれば）この拡張を切れます．ただし，Windowsヘッダの一部にこの拡張に依存したコードが存在するため，コンパイルが通らなくなる場合があります．</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.cryolite.net%2Fentry%2F20050419%2Fp1&quot; title=&quot;VC++では非const参照引数が一時オブジェクトを取れますが・・・ - Cry&amp;#39;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>2005-04-19 00:00:00</published>
  <title>VC++では非const参照引数が一時オブジェクトを取れますが・・・</title>
  <type>rich</type>
  <url>https://blog.cryolite.net/entry/20050419/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
