E2042 Declare operator delete (void*) or (void*, size_t) (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

E2043 Declare operator delete[] (void*) or (void*, size_t)Compiler error

Declare the operator delete with one of the following:

1.A single void* parameter, or

2.A second parameter of type size_t

If you use the second version, it will be used in preference to the first version.

The global operator delete can only be declared using the single-parameter form.

Personal tools
Newest Version: XE
In other languages