הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
'type' : a nested class cannot have the same name as the immediately enclosing class
Remarks
A nested class cannot have the same name as the immediately enclosing class.
Example
The following example generates C3769.
// C3769.cpp
// compile with: /c
class x {
class x {}; // C3769
class y {
class x{}; // OK
};
};