Hi,I wrote this small module ( https://github.com/lodo1995/polymorph.d ), taking inspiration from Amaury Sechet's great talk at DConf ( http://dconf.org/2016/talks/sechet.html ).
I plan to use it in std.experimental.xml ( https://github.com/lodo1995/experimental.xml ) for the DOM hierarchy, to avoid the use of garbage collected classes.
Do you think that somethink like this (maybe done a bit better) may be worth having in the standard library?
Thank you in advance, Lodovico Giaretta