coder said:
The FAQ [16.4] states that "new is an operator that can be overridden
by a class". What does that mean and why would it be useful?
You may define your own 'new' and 'new[]' operators (along with
'delete' and 'delete[]') in your class. Whenever you create
an object of that class using 'new' expression, your operator
will be called to allocate memory. You, therefore, have control
over the process of memory allocation.
Read about "custom allocators". The topic is significant enough
not to try to cover it in a newsgroup thread.
V