RAII limitations in D?

Timothee Cour via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Aug 21 19:59:51 PDT 2014


On Thu, Aug 21, 2014 at 7:26 PM, Dicebot via Digitalmars-d-learn <
digitalmars-d-learn at puremagic.com> wrote:

> http://dlang.org/phobos/std_typecons.html#.RefCounted


That doesn't work with classes though; is there any way to get a ref
counted class?

(and btw RefCounted should definitely appear in
http://dlang.org/cpptod.html#raii)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140821/e1e86af2/attachment.html>


More information about the Digitalmars-d-learn mailing list