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 C2135

'bit operator' : illegal bit field operation

The address-of operator (&) cannot be applied to a bit field.

The following sample generates C2135:

struct S
{
   int i : 1;
   int j;
};
void main()
{
   &S::i;      // error, address of a bit field
   &S::j;      // OK
}