again inheriting of structs

%u leopold_walkling at web.de
Sat Nov 18 00:35:38 PST 2006


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)



More information about the Digitalmars-d mailing list