C++/TemplateMetaProgramming
■ このスレッドは過去ログ倉庫に格納されています
0369デフォルトの名無しさん
2011/05/26(木) 00:12:50.55struct Example
{
typedef Cell<class X,Cell<class Y,Nil>> cell;
};
っていうほんと使い捨てな用途に使えないよ。
こんな感じで書くのと変わんないし。
struct Example
{
typedef Symbol<0> X;
typedef Symbol<1> Y;
typedef Cell<X,Cell<Y,Nil>> cell;
};
■ このスレッドは過去ログ倉庫に格納されています