หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
'identifier' : definition or redeclaration illegal in current scope
Remarks
An identifier can be redeclared only at global scope.
Example
The following example generates C2655:
// C2655.cpp
class A {};
class B {
public:
static int i;
};
int B::i; // OK
int main() {
A B::i; // C2655
}