[Dlang-study] [lifetime] Initial thoughts on lifetime management
Andrei Alexandrescu
andrei at erdani.com
Thu Oct 29 04:53:10 PDT 2015
On 10/28/2015 08:35 PM, Michel Fortin wrote:
> Le 28 oct. 2015 à 18:39, Timon Gehr <timon.gehr at gmx.ch> a écrit :
>
>> Actually, we do not need #references <= count.
>> It's just (#references > 0) -> (count > 0).
>> (The converse should also hold, but then #references has to include cyclic references.)
>
> There's still some value in knowing that the total number of references is 1 and not something higher.
Particularly important with COW. -- Andrei
More information about the Dlang-study
mailing list