Search

May 13, 2023
General »
...And add a similar type for delegates:
```
delegate RefOrAutoRefopt Type ParameterWithMemberAttributes
```
That would be a...
May 11, 2023
Issues »
...shows the problem again:

void f(void delegate(int) nothrow dlg) {}

void g(int x...
May 11, 2023
Issues »
https://issues.dlang.org/show_bug.cgi?id=17477

RazvanN <razvan.nitu1305@gmail.com> changed...
May 10, 2023
General »
...I think it would be simple:

```
(function | delegate) ParameterList Attributes? -> StorageClass Type
StorageClass Identifier ParameterList...
May 10, 2023
General »
...template, we have to put in a delegate to prevent the compiler from evaluating it...
May 09, 2023
General »
...t understand why we should use the delegate. Below I will share a similar example...
May 09, 2023
General »
...T val) => new Plist();

struct Wrapper {
	Plist delegate() val;
}

private Plist convertToPlist(alias U)() {
	return...
May 08, 2023
General »
...a type must be a `function` or `delegate` type to make sense.

They’re even orthogonal...
May 08, 2023
General »
...now it is complaining that some are delegate and other are function pointer because in...
May 08, 2023
Issues »
...C) int
function(char[][])*).tryExec(scope void delegate())+0x2a) [0x7361c6]
dmd(void rt.dmain2._d...
30 31 32 33 34 35 36 37 38 39 40 41
Next ›   Last »