Poznámka
Na prístup k tejto stránke sa vyžaduje oprávnenie. Môžete sa skúsiť prihlásiť alebo zmeniť adresáre.
Na prístup k tejto stránke sa vyžaduje oprávnenie. Môžete skúsiť zmeniť adresáre.
'class' : a class cannot be its own base class
Remarks
You attempted to specify the class that you are defining as a base class.
Example
The following example generates C2499:
// C2499.cpp
// compile with: /c
class CMyClass : public CMyClass {}; // C2499
class CMyClass{}; // OK