private mixin function
Bruno Medeiros
brunodomedeirosATgmail at SPAM.com
Wed Apr 12 03:51:19 PDT 2006
Jarrett Billingsley wrote:
> "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).
>
>
Indeed!
--
Bruno Medeiros - CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
More information about the Digitalmars-d-learn
mailing list