且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

删除NULL但没有编译错误

更新时间:2023-12-05 11:36:52

C++ 语言保证如果 p 等于空.

The C++ language guarantees that delete p will do nothing if p is equal to NULL.

有关更多信息,请查看第 16.8,9 节 此处:

For more info, check out Section 16.8,9 here: