C++相談室 part10
■ このスレッドは過去ログ倉庫に格納されています
0757755
NGNGvector と list 差し替えるって話はムダだが、template を typedef したいっつー
のはあり得る話か。
ちなみに、それは無い。ただし template パラメタに template を渡す、たとえば
template <template <typename T> class Prod>
class Order {
Prod<int> prod_;
...
};
みたいな書き方は出来るから、目的は達成できると思う。
■ このスレッドは過去ログ倉庫に格納されています