Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'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.