<?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>C++でゲームプログラミング</blog_title>
  <blog_url>https://osyo-manga.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>msvc で、/Za(言語拡張機能の無効化)オプションを付けてコンパイルすると次のコードはエラーになります。 template&lt;typename t&gt; struct hoge{ typedef t type; }; template&lt;typename t&gt; struct foo : hoge&lt;t&gt;{ typedef typename foo&lt;t&gt;::type type; // ここら辺でエラー }; typedef foo&lt;int&gt;::type piyo; int main(){} C++ 的にこれは正しいんでしょうか。 gcc 4.5.2 や clang 2.9 だと問題がないので、原因はよ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosyo-manga.hatenadiary.org%2Fentry%2F20110406%2F1302064258&quot; title=&quot;msvc の /Za オプションでエラー - 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>2011-04-06 13:30:58</published>
  <title>msvc の /Za オプションでエラー</title>
  <type>rich</type>
  <url>https://osyo-manga.hatenadiary.org/entry/20110406/1302064258</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
