Andrej Mitrovic wrote: >I guess I could take a look at how File uses reference counting and >build on that.
I've recently asked some questions about Reference-Counting in the d.learn newsgroup, Jesse Phillips gave me this link: http://stackoverflow.com/ questions/4632355/making-a-reference-counted-object-in-d-using- refcountedt/4635050#4635050 As shown there it's very easy to implement reference counting using RefCounted and the manual std.stdio.File way is usually not necessary. (As also said in that D.learn thread I don't like some details of the RefCounted implementation, but that can be fixed in RefCounted) -- Johannes Pfau
