Search

January 19, 2023
General »
void process()(void delegate() userData) {}
January 19, 2023
General »
...a @nogc delegate.  But if the caller is GC allocating, then an allocating delegate is...
January 19, 2023
General »
If a function takes a delegate, there is no way (outside of changing the type...
January 16, 2023
Issues »
...delegate context parameter should require `shared` (which would allow `immutable` too). Unfortunately the opApply delegate...
January 16, 2023
Issues »
https://issues.dlang.org/show_bug.cgi?id=23626

--- Comment #9 from Dlang Bot <dlang...
January 16, 2023
Issues »
...com

Basically, permit this:

```
void foo(void delegate() dg) pure {
        dg();
}
```

Similarly to how you...
January 15, 2023
Issues »
...deduction with auto const ref Args...
and delegate

https://github.com/dlang/dmd/pull/14823

--
January 15, 2023
Issues »
...deduction with auto const ref Args... and delegate" was merged into stable:

- ca530908ce1ce07d52f0c90aaa5f3824cbc7816e by Iain...
January 15, 2023
Issues »
...delegate, so it should be easy to just lower to the right kind of delegate...
January 15, 2023
Issues »
...Removed                     |Added
----------------------------------------------------------------------------
            Summary|`@safe` prohibits capture   |`@safe` prohibits capture
                   |if lazy delegate            |of lazy delegate

--
37 38 39 40 41 42 43 44 45 46 47 48
Next ›   Last »