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 C2070

illegal sizeof operand

The sizeof operator requires an expression or type name. The following sample generates C2070:

void func() {
}
void main() {
   int a;
    a = sizeof(func);   // C2070
   // try ...
   // a = sizeof(a);
}