Search

December 25, 2023
General »
...in order, not just the first one.
    ...,  // delegate with no preceding matcher, is equivalent to...
December 21, 2023
General »
...invalid types. Should be:
```
BasicType:
    ( ref Type delegate Parameters MemberFunctionAttributes? )
    ( ref Type function Parameters FunctionAttributes? )
```
December 20, 2023
Learn »
...linkage as part of a function pointer / delegate type:
```
void f(extern(C) void function...
December 19, 2023
General »
A delegate will use the GC if both these conditions apply:

1. it references variables...
December 17, 2023
General »
...auto oddNumbers(T)(T[] a) {
    return delegate int(int delegate(ref T) dg) {
      foreach (x...
December 13, 2023
General »
...delegate` (and not a function pointer). This allows us to call `bletch` through this delegate...
December 12, 2023
Learn »
Truly bizarre. I can't think of any explanation other than a compiler bug. Probably...
December 11, 2023
Learn »
...of implementing a function `opApply(scope int delegate(...))`, write a function template **`opApplyImpl(DG)(scope...
December 11, 2023
Learn »
...opApplyImpl(int delegate(byte, ref double))
opApplyImpl(int delegate(ref double))
opApplyImpl(int delegate(byte...
December 11, 2023
General »
...result;
            }
            return 0;
        }
        alias opApply = opApplyImpl!(int delegate(T, ref U));
    }
    assert(array.length < T...
18 19 20 21 22 23 24 25 26 27 28 29
Next ›   Last »