What is the difference between D and C++ regarding Unique, RefCounted and Scoped?

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 9 13:34:01 PDT 2015


On Wednesday, 9 September 2015 at 20:17:44 UTC, cym13 wrote:
> This is subtly missing the main question: isn't C++-like memory 
> management of D classes possible with Unique, RefCounted and 
> Scoped? I understand the limitations you mentioned, but it

I don't think it is a good idea to tell C++ programmers that they 
work the same, since they are quite different.



More information about the Digitalmars-d-learn mailing list