หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
'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
}
};
}