January 18, 2018 Learn » Re: cast ref pointer | |||
|---|---|---|---|
| |||
...the type and thus you can cast outer layers too and use intermediate more easily... | |||
January 09, 2018 Learn » Re: Is old style compile-time foreach redundant? | |||
|---|---|---|---|
| |||
...works), but you are actually affecting the outer construct. The extra requirement is to help... | |||
January 06, 2018 Issues » [Issue 2043] Closure outer variables in nested blocks are not allocated/instantiated correctly: should have multiple instances but only have one. | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=2043
ag0aep6g@gmail.com changed:
What |Removed... | |||
January 05, 2018 General » Re: static foreach and new identifier names | |||
|---|---|---|---|
| |||
...can still introduce new declarations to the outer scope that depend on these intermediate declarations... | |||
January 02, 2018 Issues » [Issue 18151] New: wrong auto ref lvalue inference for implicitly converted alias this parameters | |||
|---|---|---|---|
| |||
...Outer outer;
test(outer);
}
CODE
dmd -c bug.d
----
ref
bug.d(20): Error: outer... | |||
December 20, 2017 Issues » [Issue 18106] @nogc: yields a wrong error where @nogc on each definition does not | |||
|---|---|---|---|
| |||
...and `class`, i believe) isn't affected. outer @nogc for *struct* (and class) doesn't... | |||
December 04, 2017 Learn » Re: Struct inside a class: How to get outer? | |||
|---|---|---|---|
| |||
Yes! Don't forget the 'static' otherwise you'll get some odd errors. | |||
December 04, 2017 Learn » Re: Struct inside a class: How to get outer? | |||
|---|---|---|---|
| |||
...inside structs or classes, there is no 'outer' member. However, there is a hidden context... | |||
December 03, 2017 Learn » Re: Struct inside a class: How to get outer? | |||
|---|---|---|---|
| |||
It would get an extra field, making the size of the struct larger and not... | |||
December 03, 2017 Learn » Re: Struct inside a class: How to get outer? | |||
|---|---|---|---|
| |||
Why is that? | |||
Copyright © 1999-2021 by the D Language Foundation