Safe reference counting cannot be implemented as a library

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 27 14:02:51 PDT 2015


On Tuesday, 27 October 2015 at 20:45:34 UTC, rsw0x wrote:
> if they're using shared_ptr all over the place, they're doing 
> it wrong.
> shared_ptr is supposed to be a last resort

According to Herb Sutter, it is a zero cost abstraction, not like 
these pesky GC that makes your program slow.



More information about the Digitalmars-d mailing list