Is it required in standard for class specific new, new[], delete, and delete[] to be static.
Can i make them non-static member operators. And why is it required for them to be static
Is it required in standard for class specific new, new[], delete, and delete[] to
Share
Yes it’s required for them to be static. They are used to allocate memory for an object that does not yet exist hence there is no instance to refer to.