December 03, 2017 Learn » Re: Struct inside a class: How to get outer? | |||
|---|---|---|---|
| |||
It wouldn't make much sense either, if a struct was able to do it. | |||
December 03, 2017 Learn » Re: Struct inside a class: How to get outer? | |||
|---|---|---|---|
| |||
As I understand it, there is no outer for nested structs, only nested classes. So... | |||
December 03, 2017 Learn » Struct inside a class: How to get outer? | |||
|---|---|---|---|
| |||
...class Outer {
struct Inner {
void foo() {
// Error: no property 'outer' for type 'Inner'
Outer o... | |||
December 01, 2017 Issues » [Issue 17379] Mangle voldemort types as if they are defined in the outer scope to avoid exponential symbol name length with templates | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=17379 Steven Schveighoffer <schveiguy@yahoo.com> changed... | |||
December 01, 2017 Learn » Re: Template specialisation, "Generic type locking", offline stdlib docs and case-based template question | |||
|---|---|---|---|
| |||
...template. There's two levels there, the outer argument and the inner argument. It is... | |||
November 27, 2017 General » Re: Precise GC state | |||
|---|---|---|---|
| |||
...totally useless"..."Dlang is a toy in outer space"... "GC in D is shit" .. I... | |||
November 24, 2017 Learn » Re: dirEntries() and exceptions | |||
|---|---|---|---|
| |||
...exception, but drops you off in the outer scope. You would need to place the... | |||
November 23, 2017 Learn » Re: Error: 'this' is only defined in non-static member functions | |||
|---|---|---|---|
| |||
...it needs to have access to the outer context and cannot be static. -- /Jacob Carlborg | |||
November 22, 2017 Learn » Re: Error: 'this' is only defined in non-static member functions | |||
|---|---|---|---|
| |||
...class when it's created, and having outer built-in is kind of like that... | |||
November 22, 2017 Learn » Re: Error: 'this' is only defined in non-static member functions | |||
|---|---|---|---|
| |||
...access to that class instance via its outer member. https://dlang.org/spec/class.html... | |||
Copyright © 1999-2021 by the D Language Foundation