All translations

Enter a message name below to show all available translations.

Message

Found one translation.

NameCurrent message text
 h English (en)Yes. Calling delete on a null pointer is a noop in C++. Having "if (ptr) delete ptr;" is redundant. Doing <code>ptr = 0;</code> after a delete is a good idea, especially if the delete can be called on it from a different code path.