[Issue 13506] std.array.array is not @safe in some cases

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Sep 21 15:55:27 PDT 2014


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

--- Comment #5 from hsteoh at quickfur.ath.cx ---
Actually, it looks like it's probably the *wrong* fix, because if appender is
used with a type with overloaded assignment operator, and the assign operator
was un- at safe, then this patch will cause unsafe code to be called from @trusted
code, so it will break @safety in a subtle but fairly horrible way.

--


More information about the Digitalmars-d-bugs mailing list