April 14, 2019 Learn » Re: How to mixin finction name? | |||
|---|---|---|---|
| |||
...notice the double brace Because then the outer brace groups the body... and the inner... | |||
April 03, 2019 General » Re: Generality creep | |||
|---|---|---|---|
| |||
...it could only safely cast away the outer layer of shared. I thought that it... | |||
April 02, 2019 Learn » Re: Access outer member of struct from inner struct | |||
|---|---|---|---|
| |||
...the way you think it is: Outer.Inner innerObj = Outer.Inner(parameters); ¹ You can... | |||
April 02, 2019 Learn » Re: Access outer member of struct from inner struct | |||
|---|---|---|---|
| |||
On 2019-04-02 20:44, Q. Schroll wrote: It works if the struct is... | |||
April 02, 2019 Learn » Re: Access outer member of struct from inner struct | |||
|---|---|---|---|
| |||
...Outer because Inner objects are not outer objects and don't implicitly own an Outer... | |||
April 02, 2019 Learn » Access outer member of struct from inner struct | |||
|---|---|---|---|
| |||
Hello, | |||
April 01, 2019 General » Re: Generality creep | |||
|---|---|---|---|
| |||
...to deal with automatically casting away the outer level of shared within the member functions... | |||
March 31, 2019 General » Re: Private Nested Classes? | |||
|---|---|---|---|
| |||
...reference to the enclosing class through `this.outer`. By putting Inner outside of class A... | |||
March 31, 2019 General » Private Nested Classes? | |||
|---|---|---|---|
| |||
...be able to 'lock' it inside the outer class, so that raw instances of it... | |||
March 31, 2019 Issues » [Issue 19782] New: `alias this` appends `null` instead of inner/aliased element to array | |||
|---|---|---|---|
| |||
...de
import std.stdio;
class Inner {}
class Outer {
Inner inner; alias inner this;
this(Inner... | |||
Copyright © 1999-2021 by the D Language Foundation