On Tue, Jun 21, 2022 at 06:28:14PM +0000, Paul Backus via Digitalmars-d-learn 
wrote:
> On Tuesday, 21 June 2022 at 17:33:46 UTC, H. S. Teoh wrote:
> > 
> > Does the language allow you to declare a @system delegate inside
> > @safe code?
> 
> Yes. This compiles:
> 
>     void main() @safe
>     {
>         void delegate() @system dg = () @system { /* do scary stuff */ };
>     }

Hmph. That does put a damper on my idea. :-(


T

-- 
One reason that few people are aware there are programs running the internet is 
that they never crash in any significant way: the free software underlying the 
internet is reliable to the point of invisibility. -- Glyn Moody, from the 
article "Giving it all away"

Reply via email to