[Issue 15702] std.socket.Socket.receive breaks @safe

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Feb 18 10:35:05 PST 2016


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

Jonathan M Davis <issues.dlang at jmdavisProg.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |issues.dlang at jmdavisProg.co
                   |                            |m

--- Comment #2 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
I would think that converting from T[] to void[] would be @safe. That
conversion won't actually corrupt anything. It's doing anything with the void[]
which is the problem. Anything and everything which would involve interpreting
what void[] is should definitely be @system.

--


More information about the Digitalmars-d-bugs mailing list