中国开发网: 论坛: 程序员情感CBD: 贴子 475234
bjwf
ATL里太多这种C3203的错了,改起来会累死人....
// C3203.cpp
template< typename T >
struct X {
void f(X) {}
};

template< typename T >
struct Y : public X<Y> { // C3203
// try the following line instead
// struct Y : public X<Y<T> > {
void f(Y) {}
};

int main() {
Y<int> y;
}

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录