Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'class' : a class cannot be its own base class
You attempted to specify the class that you are defining as a base class.
The following sample generates C2499:
// C2499.cpp
// compile with: /c
class CMyClass : public CMyClass {}; // C2499
class CMyClass{}; // OK