[Issue 24772] Casting class references to void* should be @safe

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 2 10:17:26 UTC 2024


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

Dennis <dkorpel at live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel at live.nl

--- Comment #9 from Dennis <dkorpel at live.nl> ---
When I made a PR for this, it got closed for a reason which couldn't be
specified.

"There was a reason this was marked as unsafe, unfortunately I can't recall at
the moment what it was."

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

I personally don't believe it's unsafe however.

--


More information about the Digitalmars-d-bugs mailing list