הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
'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