2009-01-28から1日間の記事一覧
Faith and Brave - C++で遊ぼうより 規格準拠度が高いとされるComeauですら、この種のバグをもっているだよねぇ。 #include <iostream> struct foo_tag{}; struct bar_tag{}; struct foo { typedef foo_tag tag; }; struct bar { typedef bar_tag tag; }; template <class T>voi</class></iostream>…