In practice "delete null" has the defined behavior of a no-op, just like free(null), but this isn't mentioned in the language specification.
delete is going away, I wouldn't bother documenting this at all.
(In reply to comment #1) > delete is going away, I wouldn't bother documenting this at all. Well I see you've labeled this as D1 & D2, I've removed the D2 label, as delete is only going away in D2.
It's mentioned in passing in documentation of custom allocators: https://digitalmars.com/d/1.0/memory.html#newdelete Maybe close this?
delete is going away, and D1 is (finally) dead too.