Two way struct wrapper
drug
drug2004 at bk.ru
Sat Oct 14 14:59:03 UTC 2017
14.10.2017 16:23, Alex пишет:
> On Saturday, 14 October 2017 at 12:39:17 UTC, Alex wrote:
>
> ok, the last version for now. Without assumptions on alias number. Sorry
> for noise.
>
> https://run.dlang.io/is/OSJYtY
That's cool, but unfortunately demands access to source code of Foo,
it's not my case(
I improved your example a little bit - https://run.dlang.io/is/yeKofN,
it's really great. Need polish of course, but this is a way to get more
inheritance with structures.
More information about the Digitalmars-d-learn
mailing list