February 16, 2024 General » Re: New @safe rule: defensive closures | |||
|---|---|---|---|
| |||
...If it's done only when the delegate is returned or assigned to the heap... | |||
February 16, 2024 Issues » [Issue 22944] Hard-to-read error message when a delegate isn't @safe | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=22944
anonymous4 <dfj1esp02@sneakemail.com> changed:
What... | |||
February 16, 2024 Issues » [Issue 22944] Hard-to-read error message when a delegate isn't @safe | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=22944
anonymous4 <dfj1esp02@sneakemail.com> changed:
What... | |||
February 16, 2024 Learn » Re: Are exceptions caught in unittests? | |||
|---|---|---|---|
| |||
...creates a delegate from what you pass to it. assertThrown then calls that delegate. However... | |||
February 15, 2024 Announce » Re: Crow programming language | |||
|---|---|---|---|
| |||
...if it has functions) and after each delegate type. Is it as simple as that... | |||
February 15, 2024 General » Re: New @safe rule: defensive closures | |||
|---|---|---|---|
| |||
...delegate(int) @safe escape1(scope int* x) @safe
{ return (int y) => *x += y;
}
int delegate... | |||
February 15, 2024 Announce » Crow programming language | |||
|---|---|---|---|
| |||
...many delegates. A single error in one delegate causes spurious `@nogc` errors in every one... | |||
February 07, 2024 Issues » [Issue 24372] New: ArraySliceError when calling a function with an optional parameter and typesafe variadic | |||
|---|---|---|---|
| |||
...Array!(dmd.mtype.Parameter).Ar ray*, int delegate(ulong, dmd.mtype.Parameter)).__lambda3!(ulong, dmd... | |||
February 07, 2024 General » Re: Phobos 3 Discussion Notes - 02-01-2024 | |||
|---|---|---|---|
| |||
...like `new`, dynamic arrays, associative arrays, and delegate contexts will always use the GC, and... | |||
January 25, 2024 Learn » Re: Function Composition | |||
|---|---|---|---|
| |||
...g,f); ``` However this works: ```d int delegate (int) td = (x) => compose!(f,g,g... | |||
Copyright © 1999-2021 by the D Language Foundation