@safe question

forkit forkit at gmail.com
Mon Jan 10 01:16:31 UTC 2022


On Sunday, 9 January 2022 at 21:56:05 UTC, Salih Dincer wrote:
>
> Try the @trusted and in/out:
> ...
> ..
> .

thanks for introducing me to the in/out feature of D :-)

I'll certainly look into that feature more.

But my question still remains:

//pointers ~= &str; // why is this *not* allowed in @safe
pointers ~= &strings[i]; // while this *is* allowed in @safe



More information about the Digitalmars-d-learn mailing list