DIP 1018--The Copy Constructor--Community Review Round 1

12345swordy alexanderheistermann at gmail.com
Sat Dec 22 14:43:46 UTC 2018


On Saturday, 22 December 2018 at 09:07:52 UTC, Boris-Barboris 
wrote:
> On Saturday, 22 December 2018 at 02:02:55 UTC, Nicholas Wilson 
> wrote:
>> On Saturday, 22 December 2018 at 00:08:51 UTC, Boris-Barboris 
>> wrote:
>>
>> One of the primary use cases for this is ref-counting stuff, 
>> the refcount needs to be mutable.
>
> I thought ref-counted stuff is perfectly fine with postblits, 
> was I wrong?

Nope, it turns out you can't implement ref-counting GC with 
postbilts. Andrei have tried to do this already and failed. That 
why they are introducing it, (and why it should be covered in the 
motivation section in the DIP).


More information about the Digitalmars-d mailing list