Clearly, if you are using a char[]
to dole out addresses as your "custom" operator new
, then the char[]
object will overlap the object you have created.
As long as you do not use the char[]
object for something else at the same time, it is not really a problem, and that is not what this section is talking about.
This is not really what this is about tho'. If you do create your own operator new
, you should not allow it to return the same address (or an overlapping address) for the objects it creates space for. That would break the above rule.