delete p和delete [] p的区别(转)
摘要:
operator new 和 operator delete函数有两个重载版本,每个版本支持相关的new表达式和delete表达式: void* operator new (size_t); // allocate an objectvoid* operator new [] (size_t); / 阅读全文
posted @ 2016-08-30 16:19 蒲公英110 阅读(495) 评论(0) 推荐(0) 编辑