[Issue 24754] cannot take address of a member array in a ref foreach

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 9 06:44:29 UTC 2024


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

Dominikus Dittes Scherkl <dominikus at scherkl.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dominikus at scherkl.de
         Resolution|---                         |INVALID

--- Comment #1 from Dominikus Dittes Scherkl <dominikus at scherkl.de> ---
Pointers are not allowed in @safe functions at all. That's not a bug, it's a
feature!

--


More information about the Digitalmars-d-bugs mailing list