หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
'bit operator' : illegal bit field operation
Remarks
The address-of operator (&) cannot be applied to a bit field.
Example
The following example generates C2135:
// C2135.cpp
struct S {
int i : 1;
};
struct T {
int j;
};
int main() {
&S::i; // C2135 address of a bit field
&T::j; // OK
}