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 C2365

'class member' : redefinition; previous definition was a 'class member'

You attempted to redefine a class member.

The following sample generates C2365.

Example

// compile with cl /c
//
class   C1   {
   int    CFunc();
   char   *CFunc;      // already exists as a member function

   int    CMem;
   char   *CMem();   // already exists as a member
   };