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ú.
'operator operator-name' is not a recognized operator or type
Remarks
The word operator must be followed by an operator-name that you want to override or a type you want to convert.
For a list of the operators that you can define in a managed type, see User-defined Operators.
Example
The following example generates C2833:
// C2833.cpp
// compile with: /c
class A {};
void operator ::* (); // C2833
void operator :: (); // OK