ImportC and nothrow/@nogc?
Manu
turkeyman at gmail.com
Sat Aug 24 17:43:38 UTC 2024
On Sun, 25 Aug 2024 at 03:31, Richard (Rikki) Andrew Cattermole via
Digitalmars-d <digitalmars-d at puremagic.com> wrote:
> On 25/08/2024 5:10 AM, Manu wrote:
> > I might have been inclined to back you on that one... that said though,
> > the real solution to that category of problem is to accept that we need
> > annotated scopes.
> > We need to have:
> >
> > @trusted {
> > some_code;
> > }
>
> I've been considering something along these lines.
>
> Specifically, ``@trusted`` does not mean the entire body shouldn't be
> verified. It just means that you are going to do something naughty that
> needs looking at.
>
> So you need annotated scopes inside of it, to do the naughty thing.
Yes, this isn't a new conversation! We've all been begging for this since
literally the day it landed ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20240825/b922abf0/attachment.htm>
More information about the Digitalmars-d
mailing list