@trusted assumptions about @safe code

Paul Backus snarwin at gmail.com
Wed May 27 19:30:08 UTC 2020


On Wednesday, 27 May 2020 at 18:46:59 UTC, ag0aep6g wrote:
>
> So:
>
>     my dependencies do not behave as-documented -> my @trusted 
> code may be not memory-safe
>
> right?
[...]
> Or in other words: A mistake in an @safe function can lead to 
> memory corruption.
>
> Which is what Steven is saying. And I agree.

Yes, that's correct.


More information about the Digitalmars-d mailing list