Opportunities for D

via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 8 21:32:31 PDT 2014


On Wednesday, 9 July 2014 at 04:12:50 UTC, Mike wrote:
> My question was sincere, I really wanted to know more about the 
> differences  RefCounted and what you proposed.

shared_ptr supports multi-threading, weak pointers and 
destructors.

> If RefCounted is intended to have shared_ptr<T> semantics,

Nowhere near the same semantics:

http://en.cppreference.com/w/cpp/memory/shared_ptr

http://dlang.org/phobos/std_typecons.html#.RefCounted



More information about the Digitalmars-d mailing list