TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C++ Coding Standard
Search

Rule:  OAL#002

Synopsis:If you overload operator delete, it shall be prepared to accept a null pointer
Language:C++
Severity Level:1
Category:Object Allocation


Description:

Passing a null pointer to operator delete shall always be allowed, and have no effect. This also applies to operator delete[].