RAD Studio
ContentsIndex
PreviousUpNext
E2042: Declare operator delete (void*) or (void*, size_t) (C++)

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.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!