RCArray is unsafe

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Mar 4 09:06:11 PST 2015

On 3/4/2015 6:27 AM, ponce wrote:
> You define a clear owner for everything so that this never happens.
> That's what we do in C++ and shared_ptr is can be avoided as much as we like.

C++ doesn't have ownership annotations and no checkable notion of a clear owner.

More information about the Digitalmars-d mailing list