D 2015/2016 Vision?

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 8 03:15:10 PDT 2015


On Thursday, 8 October 2015 at 10:05:53 UTC, Kagamin wrote:
> On Wednesday, 7 October 2015 at 00:17:37 UTC, bitwise wrote:
>> If it takes long enough that C++ has reflection, modules, 
>> ranges, stackless coroutines, concepts, etc, then I gotta be 
>> honest, I'm gonna start worrying about investing too much time 
>> in D.
>
> You manage resources with reference counting in C++? How it 
> deals with circular references?

You have to use weak pointers for back references.

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



More information about the Digitalmars-d mailing list