bjwf:
ATL里太多这种C3203的错了,改起来会累死人....
[阅读: 266] 2007-02-16 03:14:55
// 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;
}