2008-03-11から1日間の記事一覧
auto + Expression Templateでどこまでできてしまうか試してみたい
こんなふうに書けるみたいです 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)…