March 29, 2023 Issues » [Issue 23815] closure allocated even if the escape is only used to access static members | |||
|---|---|---|---|
| |||
...fo = T function(); // not compile
alias foo = T delegate(); // compile
auto ID(C c)
{
foo f... | |||
March 28, 2023 Issues » [Issue 23440] closure over typesafe variadic or scope array passes safe though leads to stack corruption | |||
|---|---|---|---|
| |||
...behaves exactly like the original example:
---
void delegate() @safe foo(scope int[] stuff) @safe {
return... | |||
March 24, 2023 General » It's basically Hindley-Milner. | |||
|---|---|---|---|
| |||
...by recursing on the expression "`void delegate(T)` = `void delegate(int)`". It takes the explicit... | |||
March 21, 2023 Issues » [Issue 23797] New: Improve type-testing `is` expressions | |||
|---|---|---|---|
| |||
...of `struct`, `union`, `class`, `interface`, `enum`, `function`, `delegate`, and maybe also `return` could be allowed... | |||
March 13, 2023 Genel » Re: const ile alakalı basit bir hata | |||
|---|---|---|---|
| |||
...x this; // işe yaramadı alias fmt = void delegate(in char[]); void toString(scope fmt sink... | |||
March 11, 2023 Issues » [Issue 7432] DMD allows variables to be declared as pure | |||
|---|---|---|---|
| |||
...a meaning on variable declarations: the function/delegate type inherits them. Existing code relies on... | |||
March 08, 2023 Issues » [Issue 23761] Trait getOverloads does not retain "this" reference when used with instance | |||
|---|---|---|---|
| |||
...foreach (overload; __traits(getOverloads, instance, "theMethod"))
{
void delegate() callOverload;
callOverload.funcptr = &overload;
callOverload.ptr = cast... | |||
March 07, 2023 Issues » [Issue 23761] Trait getOverloads does not retain "this" reference when used with instance | |||
|---|---|---|---|
| |||
...assigning the function and instance to a delegate? Whatever I try myself doesn't work... | |||
March 07, 2023 Issues » [Issue 23761] Trait getOverloads does not retain "this" reference when used with instance | |||
|---|---|---|---|
| |||
...which can be done by using a delegate and setting the .ptr field [1]). In... | |||
February 28, 2023 Issues » [Issue 11316] Some cases of missing delegate argument type inference | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=11316 Dlang Bot <dlang-bot@dlang.rocks... | |||
Copyright © 1999-2021 by the D Language Foundation