הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
'declarator' : function cannot access 'name'
Remarks
The code tries to modify a member variable, which is not possible.
Example
The following example generates C2326:
// C2326.cpp
void MyFunc() {
int i;
class MyClass {
public:
void mf() {
i = 4; // C2326 i is inaccessible
}
};
}