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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for