2008-03-11から1日間の記事一覧

C++0x autoはコンパイラが対応するまで保留

C++

auto + Expression Templateでどこまでできてしまうか試してみたい

C++0x autoと参照とポインタ

C++

こんなふうに書けるみたいです int foo(); auto x1 = foo(); // int x1; const auto& x2 = foo(); // const int& x2; int* foo(); auto* x1 = foo(); // int* x1; auto x2 = foo(); // int* x2; なにこれ・・・こんなことできなくていいですよー new auto(1)…