Бележка
Достъпът до тази страница изисква удостоверяване. Можете да опитате да влезете или да промените директориите.
Достъпът до тази страница изисква удостоверяване. Можете да опитате да промените директориите.
'identifier' : member function already defined or declared
Remarks
This error could be caused by using the same formal parameter list in more than one definition or declaration of an overloaded function.
If you get C2535 because of the Dispose function, see Destructors and finalizers for more information.
Example
The following example generates C2535:
// C2535.cpp
// compile with: /c
class C {
public:
void func(); // forward declaration
void func() {} // C2535
};