Search

November 25, 2023
Learn »
...try and override it as well, and delegate to your overload that deals directly with...
November 23, 2023
Issues »
...preview=in` should allow array literals and delegate
                    literals in a `@nogc` context
           Product: D...
November 22, 2023
Learn »
...bool delegate(S item) predicate)`
iterable.d(23,13):                        `filter(S)(S[] source, bool delegate...
November 21, 2023
Learn »
...createCounter(int nextValue) => delegate () => nextValue++ ;
```

Explicit return must be specified after "delegate" keyword

```d
auto...
November 20, 2023
Learn »
...a delegate, as it doesn't close over any variables. It returns a delegate as...
November 20, 2023
Learn »
...put the `delegate` keyword in front of the function literal:

```d
auto createCounter = delegate (int...
November 20, 2023
Learn »
...a function returning a delegate
auto createCounter(int nextValue) => auto delegate() => nextValue++;

// this is a...
November 20, 2023
Learn »
...is a delegate:

```
'typeof(createCounter).string' is int delegate() pure nothrow @nogc @safe delegate(int...
November 20, 2023
Learn »
...msg, typeof(Counter)); // pure nothrow @safe int delegate() pure nothrow @nogc @safe(int nextValue)
enum...
November 20, 2023
Learn »
...the signature of next:
```
'next' is int delegate() pure nothrow @nogc @safe
```

second writeln shows...
20 21 22 23 24 25 26 27 28 29 30 31
Next ›   Last »