1 day ago DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
Walter seems to think that we cannot remove alias this, but he's quite averse... | |||
1 day ago DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
Deprecating that was attempted: https://dlang.org/changelog/2.103.0.html#dmd.deprecate-alias... | |||
1 day ago General » Re: Something like ADL from C++? | |||
|---|---|---|---|
| |||
...derived type has to be final. A struct starts to look inviting with all these... | |||
1 day ago Issues » [Issue 24892] We need a __traits trait to test for whether one class is derived from another | |||
|---|---|---|---|
| |||
...being passed in could even be a struct rather than a class and end up... | |||
1 day ago Issues » [Issue 24892] We need a __traits trait to test for whether one class is derived from another | |||
|---|---|---|---|
| |||
...when a template function accepts a generic struct/class, the constraints test for capabilities (like... | |||
1 day ago General » Re: Something like ADL from C++? | |||
|---|---|---|---|
| |||
```d
import std;
interface ISerialize {
void serialize();
}
struct thing{ }
class SerializableRoot {
void serialize(this T... | |||
1 day ago DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
I suppose we could do > and < comparison of types in template parameters and is expressions... | |||
1 day ago DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
...API of the parent struct so that it works with any struct type that's... | |||
1 day ago DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
Problem is, template parameters also should work, using ``Child : Parent`` syntax. Otherwise the usability on... | |||
1 day ago DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
...tell you that a struct named Child inherits from a struct named Parent, because they... | |||
Copyright © 1999-2021 by the D Language Foundation