June 25, 2023 Issues » [Issue 24013] [REG 2.103.0] address of a __traits(getOverloads) item is not converted to a delegate anymore | |||
|---|---|---|---|
| |||
...is not converted to a
|items is not converted to a |delegate anymore
|delegate anymore |
-- | |||
June 25, 2023 Issues » [Issue 24013] [REG 2.103.0] taking address of an __traits(getOverloads) items is not converted to a delegate anymore | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24013 --- Comment #1 from Basile-z <b2... | |||
June 25, 2023 Issues » [Issue 24013] [REG 2.103.0] taking address of an __traits(getOverloads) items is not converted to a delegate anymore | |||
|---|---|---|---|
| |||
...converted to a delegate |__traits(getOverloads)
|anymore |items is not converted to a
| |delegate anymore
-- | |||
June 25, 2023 Issues » [Issue 24013] New: [REG 2.103.0] result of __traits(getOverloads) is not converted to a delegate anymore | |||
|---|---|---|---|
| |||
...PropSetter = void delegate(T value);
alias PropGetter = T delegate();
}
else
{
alias PropSetter = void delegate(T... | |||
June 22, 2023 Issues » [Issue 24009] New: The garbage collector tries to allocate memory while the program is out of memory | |||
|---|---|---|---|
| |||
...thread_scanAll(scope void(void*, void*) nothrow delegate).__lambda2!(core.thread.threadbase.ScanType, void*, void... | |||
June 21, 2023 Issues » [Issue 24007] New: function/delegate literals cannot specify linkage | |||
|---|---|---|---|
| |||
...id=24007
Issue ID: 24007
Summary: function/delegate literals cannot specify linkage
Product: D
Version... | |||
June 20, 2023 General » Re: D’s delegates — The good, the bad, and the ugly | |||
|---|---|---|---|
| |||
...The same is true for `function` → `delegate`. And there isn’t even an explicit conversion... | |||
June 18, 2023 Issues » [Issue 23998] @mustuse should require opCast(T:bool) is checked | |||
|---|---|---|---|
| |||
...value is null;
int opApply(scope int delegate(int) dg)
{
if (value is null) return... | |||
June 18, 2023 General » Re: D’s delegates — The good, the bad, and the ugly | |||
|---|---|---|---|
| |||
...functional;
void foo()@safe{}
void main(){
void delegate()immutable dg=toDelegate(&foo); // error
}
```
(Which it... | |||
June 17, 2023 General » Re: D’s delegates — The good, the bad, and the ugly | |||
|---|---|---|---|
| |||
...a function pointer to convert to a delegate, the compiler would have to generate a... | |||
Copyright © 1999-2021 by the D Language Foundation