ImportC and nothrow/@nogc?

Dom DiSc dominikus at scherkl.de
Sun Aug 25 09:23:51 UTC 2024


On Saturday, 24 August 2024 at 17:10:39 UTC, Manu wrote:
> We need to have:
>
> @trusted {
>   some_code;
> }

We have:

() @trusted {
    some_code;
}();

Which works kind of the same, beside it's ugly as hell.
Until we have real trusted blocks, I use this (heavily).


More information about the Digitalmars-d mailing list