[haXe] Abstract Classes?
Nicolas Cannasse
ncannasse at motion-twin.com
Fri Dec 15 15:07:42 CET 2006
> I'm not 100% sure what Nicolas has done, since his last message wasn't
> very specific, and I haven't checked CVS yet :).
>
> However, what I believe to have changed is that private fields within
> a typedef are now private *to the file* and not private to the typedef
> itself.
Not exactly.
Now, when you define a "private" in a typedef, you can access the field.
It's a way so say "I know what I'm doing, I know this field might be
private, but I still want to access it". Actually that can be used to
implement the "friend" keyword as in C++.
Nicolas
More information about the Haxe
mailing list