Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 478 Bytes

compiler-error-c2809.md

File metadata and controls

23 lines (19 loc) · 478 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C2809
Compiler Error C2809
11/04/2016
C2809
C2809
ce796b8e-1a8c-4074-995d-1ad09afd0e93

Compiler Error C2809

'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