<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>faith_and_brave</author_name>
  <author_url>https://blog.hatena.ne.jp/faith_and_brave/</author_url>
  <blog_title>Faith and Brave - C++で遊ぼう</blog_title>
  <blog_url>https://faithandbrave.hateblo.jp/</blog_url>
  <categories>
    <anon>VC++</anon>
  </categories>
  <description>発表されてなかったので試してもいなかったのですが、 VC++10では戻り値の型を後置する関数宣言構文が使えるようです。 (autoと-&gt;のあたりに赤線引かれるけど) あと、decltype( ( v ) )も使えました。 #include &lt;vector&gt; #include &lt;type_traits&gt; using namespace std; // 関数の戻り値の型(vector&lt;int&gt;)を後置 auto foo() -&gt; vector&lt;int&gt; { return vector&lt;int&gt;(); } int main() { vector&lt;int&gt; v = foo(); // decltype…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20090623%2F1245751685&quot; title=&quot; VC++10 Beta 1の今さら気づいたC++0x機能 - Faith and Brave - C++で遊ぼう&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>2009-06-23 19:08:05</published>
  <title> VC++10 Beta 1の今さら気づいたC++0x機能</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/20090623/1245751685</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
