Export (0) Print
Expand All
Expand Minimize

Compiler Error C2659

'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
}

Community Additions

ADD
Show:
© 2014 Microsoft