[Issue 24298] cpp_delete should check for null

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 22 13:13:55 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=24298

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@tim-dlang created dlang/dmd pull request #15943 "Fix issue 24298 - cpp_delete
should check for null" fixing this issue:

- Fix issue 24298 - cpp_delete should check for null

  The delete operator in C++ can be called with a null pointer and
  ignores it. This commit makes cpp_delete consistent with C++, so null
  pointers are also ignored.

https://github.com/dlang/dmd/pull/15943

--


More information about the Digitalmars-d-bugs mailing list