Search

March 29, 2023
Issues »
...fo = T function();  // not compile
alias foo = T delegate(); // compile

auto ID(C c)
{
  foo f...
March 28, 2023
Issues »
...behaves exactly like the original example:

---
void delegate() @safe foo(scope int[] stuff) @safe {
        return...
March 24, 2023
General »
...by recursing on the expression "`void delegate(T)` = `void delegate(int)`". It takes the explicit...
March 21, 2023
Issues »
...of `struct`, `union`, `class`, `interface`, `enum`,
`function`, `delegate`, and maybe also `return` could be allowed...
March 13, 2023
Genel »
...x this; // işe yaramadı
  alias fmt = void delegate(in char[]);
  void toString(scope fmt sink...
March 11, 2023
Issues »
...a meaning on variable declarations: the function/delegate type inherits them. Existing code relies on...
March 08, 2023
Issues »
...foreach (overload; __traits(getOverloads, instance, "theMethod"))
        {
             void delegate() callOverload;
             callOverload.funcptr = &overload;
             callOverload.ptr = cast...
March 07, 2023
Issues »
...assigning the function and instance to a delegate? Whatever I try myself doesn't work...
March 07, 2023
Issues »
...which can be done by using a delegate and setting the .ptr field [1]).

In...
February 28, 2023
Issues »
https://issues.dlang.org/show_bug.cgi?id=11316

Dlang Bot <dlang-bot@dlang.rocks...
33 34 35 36 37 38 39 40 41 42 43 44
Next ›   Last »