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 C2105

'operator' needs l-value

The operator must have an l-value as operand. The following sample generates C2105:

main() {
   int a[10] = {0};
   int b[10] = {0};

   ++(a , b);   // C2105
   // try ..
   // ++(a[0] , b[0]); // ok
   // ++a[0];
}