Private static inheritance

David Ferenczi raggae at ferenczi.net
Sun Sep 23 07:26:59 PDT 2007


Matti Niemenmaa wrote:
> Looks like good old bug 314 to me:
> http://d.puremagic.com/issues/show_bug.cgi?id=314
> 

This is funny. I tried it out with pure imports wihtout any qualifiers. I
got the same result. So summerising the problem: if a private member
qualified as static or const (or both), it won't remain private after
import. And as far as I can judge the import qualifier doesn't matter.

So the problem is surely related to 314, but it may introduce some new
aspects.


More information about the Digitalmars-d-learn mailing list