[Issue 24892] We need a __traits trait to test for whether one class is derived from another

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 7 09:57:37 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24892

--- Comment #6 from Dennis <dkorpel at live.nl> ---
So you're unable to provide a single real and concrete code example. That's a
shame, because I'm suspicious of those cases where people ask how to check if
one class is derived from another, it sounds like classic XY problem.
(https://en.wikipedia.org/wiki/XY_problem)

--


More information about the Digitalmars-d-bugs mailing list