operator new和operator delete函数、new和delete的实现原理、内存泄漏、泛型编程、模板
operatornew和operatordelete函数定义:operatornew和operatordelete是系统提供的全局函数;用法与malloc和free相同,功能都是在堆上申请、释放空间;int*p1=(int*)operatornew(siaeof(int));operatordelete(p1);operatornew实际上是通过malloc来申请空间的,申请成功时直接返回,失败时