NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2104

'&' on bit field ignored

You cannot take the address of a bit field.

The following sample generates C2104:

struct X {
   int b : 1;
   int sb : 1;
};

void main() {
   X x;
   &x.sb;   // C2104, remove the & to resolve the error
}