Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 784 Bytes

compiler-error-c2511.md

File metadata and controls

36 lines (28 loc) · 784 Bytes
descriptiontitlems.datef1_keywordshelpviewer_keywordsms.assetid
Learn more about: Compiler Error C2511
Compiler Error C2511
11/04/2016
C2511
C2511
df999efe-fe2b-418b-bb55-4af6a0592631

Compiler Error C2511

'identifier' : overloaded member function not found in 'class'

No version of the function is declared with the specified parameters. Possible causes:

  1. Wrong parameters passed to function.

  2. Parameters passed in wrong order.

  3. Incorrect spelling of parameter names.

The following sample generates C2511:

// C2511.cpp// compile with: /cclassC { int c_2; intFunc(char *, char *); }; intC::Func(char *, char *, int i) { // C2511// try the following line instead// int C::Func(char *, char *) {return0; }
close