Encapsulating trust
Daniel Murphy via Digitalmars-d
digitalmars-d at puremagic.com
Mon Sep 1 11:46:39 PDT 2014
"Dicebot" wrote in message news:uwalapqtroynalabxtwo at forum.dlang.org...
> Idea is that you move not only actual unsafe operation into
> @trusted lambda but also any additional context that makes it
> effectively @safe, separating it from the rest of the function.
>
> It is not that trivial to spot though so some mistakes are
> inevitable.
Absolutely. This thread's proposal is a complete departure from that idea.
More information about the Digitalmars-d
mailing list