Search

February 19, 2023
Learn »
...you can't really "save" the hidden delegate somewhere, so the calling function knows that...
February 20, 2023
Learn »
...enforce being lazy, we would get a delegate/literal that saves the current scope on...
February 06, 2023
Issues »
...type of the following
form:
```d
Int delegate ParameterList MemberFunctionAttributes`
```
where `ParameterList` and `MemberFunctionAttributes` [3...
February 03, 2023
Issues »
...this(ref int i) {
         DBG(&i);
      }
  }

  int* delegate() outer;

  void DBG(lazy scope int* args...
February 03, 2023
Issues »
...i)
     {
        DBG(() => &i);
     }
}

void DBG(scope int* delegate() args) {}
```

So it essentially attaches scope to...
February 02, 2023
General »
...attributes based on the caller-side delegate supplied: The delegate type – and with it...
February 02, 2023
Issues »
...template to infer attributes based on the delegate argument’s type. If `opApply` is a template...
February 02, 2023
Issues »
...is not changed by
the delegate (think of: the delegate only calls free functions and...
January 31, 2023
Learn »
So `delegate` looks closer to what I want.  I am looking to implement a [Strategy...
January 31, 2023
General »
...return result;
        }
    }
    auto borrow(R)(scope R delegate(scope T*)@safe dg)@trusted{
        scope local...
35 36 37 38 39 40 41 42 43 44 45 46
Next ›   Last »