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[]. |