Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
binary 'operator operator' has too few parameters
Remarks
The binary operator has no parameters.
Example
The following example generates C2805:
// C2805.cpp
// compile with: /c
class X {
public:
X operator< ( void ); // C2805 must take one parameter
X operator< ( X ); // OK
};