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 C2570

'identifier' : union cannot have base classes

A union derives from a class, structure, or union. This is not allowed. Declare the derived type as a class or structure instead. The following sample generates C2570:

class base { 
};

union hasPubBase : public base {   // C2570
// try ...
// union hasPubBase {
};

void main() {
}