Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'&' on bit field ignored
Remarks
You cannot take the address of a bit field.
Example
The following example generates C2104:
// C2104.cpp
struct X {
   int sb : 1;
};
int main() {
   X x;
   &x.sb;   // C2104
   x.sb;   // OK
}