Muistiinpano
Tälle sivulle pääsy edellyttää valtuutusta. Voit yrittää kirjautua sisään tai vaihtaa hakemistoja.
Tälle sivulle pääsy edellyttää valtuutusta. Voit yrittää vaihtaa hakemistoja.
'function1': overloaded function differs only by return type from 'function2'
Remarks
The overloaded functions have different return types but the same parameter list. Each overloaded function must have a distinct formal parameter list.
Example
The following example generates C2556:
// C2556.cpp
// compile with: /c
int func();
double func(); // C2556
int func(int i); // OK parameter lists differ