July 08, 2023 General » Re: Please support shorter constructor init | |||
|---|---|---|---|
| |||
...the outer class instance using the `outer` property: https://dlang.org/spec/class.html#outer... | |||
June 16, 2023 Learn » Re: Private nested class instance accessed via outer class public interface | |||
|---|---|---|---|
| |||
This isn't fully playing to its strengths either, there's no need to cast... | |||
June 16, 2023 Learn » Re: Private nested class instance accessed via outer class public interface | |||
|---|---|---|---|
| |||
Thanks for the invitation. However, I don't like Discord so I don't use... | |||
June 16, 2023 Learn » Re: Private nested class instance accessed via outer class public interface | |||
|---|---|---|---|
| |||
Yes that is to be expected. Also we have a Discord server which you are... | |||
June 16, 2023 Learn » Re: Private nested class instance accessed via outer class public interface | |||
|---|---|---|---|
| |||
And since classes can be declared locally inside methods, you can also do something similar... | |||
June 16, 2023 Learn » Private nested class instance accessed via outer class public interface | |||
|---|---|---|---|
| |||
...return type 'Program.Outer.Inner'
// is less accessible than method 'Program.Outer.getInner()'
public static... | |||
June 16, 2023 Learn » Private nested class instance accessed via outer class public interface | |||
|---|---|---|---|
| |||
...return type 'Program.Outer.Inner'
// is less accessible than method 'Program.Outer.getInner()'
public static... | |||
April 10, 2023 General » Re: Why is D significantly slower than C# in this instance? | |||
|---|---|---|---|
| |||
The outer loop does nothing, perhaps C# optimizes it away. | |||
February 23, 2023 Issues » [Issue 23729] ignore custom object.d for CTFE needs | |||
|---|---|---|---|
| |||
...string format, scope string[] args)
{
string result;
outer: while (format.length)
{
foreach (i; 0 .. format... | |||
February 03, 2023 Issues » [Issue 23667] [REG2.101] Incorrect escape deprecation on scope lazy pointer parameter | |||
|---|---|---|---|
| |||
...DBG(&i);
}
}
int* delegate() outer;
void DBG(lazy scope int* args)
{
outer = &args;
}
void main... | |||
Copyright © 1999-2021 by the D Language Foundation