【初心者歓迎】C/C++室 Ver.64【環境依存OK】
■ このスレッドは過去ログ倉庫に格納されています
0166デフォルトの名無しさん
2009/02/23(月) 09:12:42template<T> class BB{
BB(const T &);
static const T func(T a){retunr a + 1;};
};
int x = 0;
BB<int> i(i.func(x)); // BB<int> i(BB<int>::func(x)); と同じ意味になる筈
■ このスレッドは過去ログ倉庫に格納されています