Collections question

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue Dec 1 06:15:47 PST 2015


On 12/1/15 4:55 AM, Marc Schütz wrote:
> On Monday, 30 November 2015 at 18:18:38 UTC, Andrei Alexandrescu wrote:
>> * The one matter with the value/RefCounted approach is that RefCounted
>> cannot be made @safe.
>
> That's just as true for internal refcounting.

I don't think that's the case. The way I wrote code, safety can be 
achieved with a few controlled insertions of @trusted. -- Andrei


More information about the Digitalmars-d mailing list