[Issue 13534] std.variant can violate memory safety
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Sep 26 12:31:12 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13534
--- Comment #1 from hsteoh at quickfur.ath.cx ---
Yeah, only those parts of Variant that deal with casting between types should
be considered as @trusted; it's a very bad idea to make a whole big block of
code @trusted when its actual semantics depends on arbitrary template
parameters.
--
More information about the Digitalmars-d-bugs
mailing list