Some applications have specialized memory allocation needs that cannot be met by the standard memory management facilities. Such applications need to take over the details of how memory is allocated, for example, by arranging for new
to put objects into particular kinds of memory. To do so, they can overload the new
and delete
operators to control memory allocation.