February 19, 2023 Learn » Re: Lazy and GC Allocations | |||
|---|---|---|---|
| |||
...you can't really "save" the hidden delegate somewhere, so the calling function knows that... | |||
February 20, 2023 Learn » Lazy and GC Allocations | |||
|---|---|---|---|
| |||
...enforce being lazy, we would get a delegate/literal that saves the current scope on... | |||
February 06, 2023 Issues » [Issue 23666] Recognize template opApply pattern | |||
|---|---|---|---|
| |||
...type of the following form: ```d Int delegate ParameterList MemberFunctionAttributes` ``` where `ParameterList` and `MemberFunctionAttributes` [3... | |||
February 03, 2023 Issues » [Issue 23667] [REG2.101] Incorrect escape deprecation on scope lazy pointer parameter | |||
|---|---|---|---|
| |||
...this(ref int i) {
DBG(&i);
}
}
int* delegate() outer;
void DBG(lazy scope int* args... | |||
February 03, 2023 Issues » [Issue 23667] [REG2.101] Incorrect escape deprecation on scope lazy pointer parameter | |||
|---|---|---|---|
| |||
...i)
{
DBG(() => &i);
}
}
void DBG(scope int* delegate() args) {}
```
So it essentially attaches scope to... | |||
February 02, 2023 General » Re: Trying to use Mir ion, its a perfect example of the failure of D's attribute system | |||
|---|---|---|---|
| |||
...attributes based on the caller-side delegate supplied: The delegate type – and with it... | |||
February 02, 2023 Issues » [Issue 23666] New: Recognize template opApply pattern | |||
|---|---|---|---|
| |||
...template to infer attributes based on the delegate argument’s type. If `opApply` is a template... | |||
February 02, 2023 Issues » [Issue 23664] New: Infer `const` for lambdas/closures | |||
|---|---|---|---|
| |||
...is not changed by the delegate (think of: the delegate only calls free functions and... | |||
January 31, 2023 Learn » Re: More Elegant Settable Methods? | |||
|---|---|---|---|
| |||
So `delegate` looks closer to what I want. I am looking to implement a [Strategy... | |||
January 31, 2023 General » Re: Allocator-aware @safe reference counting is still not possible | |||
|---|---|---|---|
| |||
...return result;
}
}
auto borrow(R)(scope R delegate(scope T*)@safe dg)@trusted{
scope local... | |||
Copyright © 1999-2021 by the D Language Foundation