[Issue 14439] aa's keys, values, byKey, byValue not usable in @safe context
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Mar 22 18:03:19 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=14439
Chris Wright <dhasenan at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dhasenan at gmail.com
--- Comment #2 from Chris Wright <dhasenan at gmail.com> ---
I can simply make .keys and .values @trusted. Brad Roberts, is that acceptable?
These functions, being in druntime and applying to a widely used type, *should*
be reliably safe, and there shouldn't be anything special you need to do, no
precautions you need to take, to make them work safely.
--
More information about the Digitalmars-d-bugs
mailing list