Export (0) Print
Expand All
Expand Minimize

Compiler Error C2809

Error Message

'operator operator' has no formal parameters

The operator lacks required parameters.

The following sample generates C2809:

// C2809.cpp
// compile with: /c
class A{};
int operator+ ();   // C2809
int operator+ (A);   // OK

Community Additions

ADD
Show:
© 2014 Microsoft