11 hours ago Issues » [Issue 24892] We need a __traits trait to test for whether one class is derived from another | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24892 --- Comment #6 from Dennis <dkorpel@live... | |||
18 hours ago Issues » [Issue 24892] We need a __traits trait to test for whether one class is derived from another | |||
|---|---|---|---|
| |||
...make more sense to just have a __traits trait for it. But since there is... | |||
22 hours ago Issues » [Issue 24892] We need a __traits trait to test for whether one class is derived from another | |||
|---|---|---|---|
| |||
...is false, you can already use std.traits.BaseClassesTuple to find parents. The second point... | |||
1 day ago Issues » [Issue 24892] We need a __traits trait to test for whether one class is derived from another | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24892 --- Comment #3 from Jonathan M Davis... | |||
1 day ago Issues » [Issue 24892] We need a __traits trait to test for whether one class is derived from another | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24892
Dennis <dkorpel@live.nl> changed:
What... | |||
1 day ago General » Re: Something like ADL from C++? | |||
|---|---|---|---|
| |||
...serialize(this T)() {
// serialize here, possibly using __traits to introspect on T
writeln("Serializing ", typeid... | |||
1 day ago Issues » [Issue 24892] We need a __traits trait to test for whether one class is derived from another | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24892 Richard (Rikki) Andrew Cattermole <alphaglosined@gmail... | |||
1 day ago Issues » [Issue 24892] New: We need a __traits trait to test for whether one class is derived from another | |||
|---|---|---|---|
| |||
...add something like __traits(implements, T, U) - or we could just have __traits(isDerivedFrom, T... | |||
1 day ago DIP Ideas » Re: @property fields | |||
|---|---|---|---|
| |||
...with is expressions in order to implement traits. Getting rid of @property would actually break... | |||
1 day ago DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
...so with a template constraint and a __traits trait just like plenty of other code... | |||
Copyright © 1999-2021 by the D Language Foundation