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' must be globally qualified
Remarks
The new and delete operators are tied to the class where they reside. Scope resolution cannot be used to select a version of new or delete from a different class. To implement multiple forms of the new or delete operator, create a version of the operator with extra formal parameters.
This error is obsolete in Visual Studio 2022 and later versions.