有许多理由需要写个自定的new 和delete ,包括改善效能、对heap 运用错误进行调试、收集heap 使用信息。 转载于:https://www.cnblogs.com/wen-ge/p/4386473.html