www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - again inheriting of structs

Once again the same question: Why isn't it possible to inherit structs so that
you don't need to explicitly cast them to a struct with the same members, or
at least another way to use anonymus struct members as you can do with
anonymus unions?

I think using templates isn't worthy  at all since you can't use a template as
a function parameter.
Yet there haven't been real arguments to explain this lack (at least that's
what I think of it)
Nov 18 2006