Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 607 Bytes

compiler-error-c2365.md

File metadata and controls

27 lines (22 loc) · 607 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C2365
Compiler Error C2365
11/04/2016
C2365
C2365
35839b0b-4055-4b79-8957-b3a0871bdd02

Compiler Error C2365

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

You attempted to redefine a class member.

The following sample generates C2365.

// C2365.cpp
// compile with: /c
class C1 {
   int CFunc();
   char *CFunc;   // C2365, already exists as a member function

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