[Issue 24298] cpp_delete should check for null
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Dec 22 21:45:15 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24298
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #15943 "Fix issue 24298 - cpp_delete should check for
null" was merged into master:
- a70e1771f8f9fa56e111859feaa8800d17755dd7 by Tim Schendekehl:
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