description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Error C2809 |
Compiler Error C2809 |
11/04/2016 |
|
|
ce796b8e-1a8c-4074-995d-1ad09afd0e93 |
'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