Compiler Errors C2600 Throu ...


Visual C++ Concepts: Building a C/C++ Program
Compiler Error C2659

Error Message

'operator' : function as left operand

An overloaded function was on the left side of the specified operator.

The following sample generates C2659:

// C2659.cpp
int func( int );
int func( double );
int main() {
   func = 10;   // C2659
}
Tags :


Page view tracker