December 06 Issues » [Issue 24892] We need a __traits trait to test for whether one class is derived from another | |||
|---|---|---|---|
| |||
...if(is(const(T)[] : const(U)[]) That would also makes it clear *why* you specifically... | |||
December 06 Issues » [Issue 24892] New: We need a __traits trait to test for whether one class is derived from another | |||
|---|---|---|---|
| |||
...be a simple question. As such, I would propose that we add something to __traits... | |||
December 05 DIP Ideas » Re: @property fields | |||
|---|---|---|---|
| |||
...use the property like a function, which would allow us to have @property functions which... | |||
December 06 DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
...hierarchy based instead of implicit conversions. I would need to double check it, but ok... | |||
December 05 DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
...instance, since struct inheritance would _not_ involve an implicit conversion, how would you test for... | |||
December 06 DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
...it would effectively be turned on and couldn't be opt-out, and would be... | |||
December 05 DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
...that what Walter proposed would involve _zero_ conversions. So, there would be no casting to... | |||
December 05 DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
The types would be completely independent from one another. It would just be a way... | |||
December 05 DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
...The 'Assign' case would be a compile error, and once removed it would yield: ``` MethB... | |||
December 05 DIP Ideas » Re: @property fields | |||
|---|---|---|---|
| |||
...exactly the function signatures would look like and whether a variable would actually be created... | |||
Copyright © 1999-2021 by the D Language Foundation