"Jacob Carlborg" wrote in message news:lrtf8l$22d3$1...@digitalmars.com...
BTW, why not classes? It's basically the same implementation as for structs.
I guess I've just never needed to do it with classes. A lot of the time when I use classes I use inheritance, and this simple translation doesn't work out so will then...