RCArray is unsafe

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Mar 4 01:05:54 PST 2015

On 3/4/2015 12:13 AM, deadalnix wrote:
> The #1 argument for DIP25 compared to alternative proposal was its simplicity. I
> assume at this point that we have empirical evidence that this is NOT the case.

The complexity of a free list doesn't remotely compare to that of adding an 
ownership system.

Besides, we expect to provide sample code for how to do this that can be pretty 
much cut&pasted by people implementing their own RC types.

More information about the Digitalmars-d mailing list