May 13, 2023 General » Re: D needs a type expression syntax | |||
|---|---|---|---|
| |||
...And add a similar type for delegates: ``` delegate RefOrAutoRefopt Type ParameterWithMemberAttributes ``` That would be a... | |||
May 11, 2023 Issues » [Issue 17477] DMD error message for delegate with wrong attributes is very confusing | |||
|---|---|---|---|
| |||
...shows the problem again:
void f(void delegate(int) nothrow dlg) {}
void g(int x... | |||
May 11, 2023 Issues » [Issue 17477] DMD error message for delegate with wrong attributes is very confusing | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=17477 RazvanN <razvan.nitu1305@gmail.com> changed... | |||
May 10, 2023 General » Re: D needs a type expression syntax | |||
|---|---|---|---|
| |||
...I think it would be simple: ``` (function | delegate) ParameterList Attributes? -> StorageClass Type StorageClass Identifier ParameterList... | |||
May 10, 2023 General » Re: cannot interpret `cast(void)0` at compile time? | |||
|---|---|---|---|
| |||
...template, we have to put in a delegate to prevent the compiler from evaluating it... | |||
May 09, 2023 General » Re: cannot interpret `cast(void)0` at compile time? | |||
|---|---|---|---|
| |||
...t understand why we should use the delegate. Below I will share a similar example... | |||
May 09, 2023 General » cannot interpret `cast(void)0` at compile time? | |||
|---|---|---|---|
| |||
...T val) => new Plist();
struct Wrapper {
Plist delegate() val;
}
private Plist convertToPlist(alias U)() {
return... | |||
May 08, 2023 General » Re: D needs a type expression syntax | |||
|---|---|---|---|
| |||
...a type must be a `function` or `delegate` type to make sense. They’re even orthogonal... | |||
May 08, 2023 General » Re: Manipulating variables without evaluating them | |||
|---|---|---|---|
| |||
...now it is complaining that some are delegate and other are function pointer because in... | |||
May 08, 2023 Issues » [Issue 23904] Spurious "struct [...] already exists" | |||
|---|---|---|---|
| |||
...C) int function(char[][])*).tryExec(scope void delegate())+0x2a) [0x7361c6] dmd(void rt.dmain2._d... | |||
Copyright © 1999-2021 by the D Language Foundation