private mixin function

Jarrett Billingsley kb3ctd2 at yahoo.com
Tue Apr 11 13:03:36 PDT 2006


"Frank Benoit" <benoit__ at __tionex.de> wrote in message 
news:e1gh7m$2btt$1 at digitaldaemon.com...
> Never mind. Calling it with
> m1.func();
> works.

Hahaha, it's two bugs canceling each other out (maybe).

If the template is defined in the same module as C, I would imagine C should 
be able to access its private members (though that might be some other 
rule); but at the same time, if you use the fully qualified name of 
something, protection attributes mean nothing (hence why calling m1.func() 
works). 





More information about the Digitalmars-d-learn mailing list