A Refcounted Array Type

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 23 23:02:03 PST 2015


On 2/23/2015 9:59 PM, Jonathan M Davis via Digitalmars-d wrote:
> And delete is supposed to have been deprecated ages ago, but yeah, it
> _definitely_ shouldn't be considered @safe.

Managing memory always is going to be unsafe. The idea is to encapsulate that, 
which RCArray shows how to do.



More information about the Digitalmars-d mailing list