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 C2186

'operator' : illegal operand of type 'void'

The operator has a void operand.

The following sample generates C2186:

void func1( void );
int  func2( void );
int i = 2 + func1();   // error, func1() is type void
int j = 2 + func2();   // OK, both operands are type int