Mixins for GC-Flexibility?
Bill Baxter
dnewsgroup at billbaxter.com
Mon Nov 20 19:30:27 PST 2006
genie wrote:
> I tried ref counting and it worked quite well. One thing puzzled me,
> however - when I declared a destructor for a class to be protected, I
> could still call delete on an object of this class - something that
> you can't do in C++ - is it the expected behaviour of D or just a bug
> in the compiler?
Read what the attributes actually mean here:
http://www.digitalmars.com/d/attribute.html#deprecated
In particular, everything in a module acts like a 'friend' with
everything else in that module.
--bb
More information about the Digitalmars-d
mailing list