RCArray is unsafe
Zach the Mystic via Digitalmars-d
digitalmars-d at puremagic.com
Mon Mar 2 15:48:57 PST 2015
On Monday, 2 March 2015 at 22:58:19 UTC, Walter Bright wrote:
> I.e. the postblit manipulates the ref count, but does NOT do
> payload deletions. The destructor checks the ref count, if it
> is zero, THEN it does the payload deletion.
>
> Pretty dazz idea, dontcha think? And DIP25 still stands
> unscathed :-)
>
> Unless, of course, we missed something obvious.
Add me to "we". I'm dazzed! :-)
More information about the Digitalmars-d
mailing list