[Dlang-study] [lifetime] Initial thoughts on lifetime management

Andrei Alexandrescu andrei at erdani.com
Wed Oct 28 15:31:11 PDT 2015


On 10/28/2015 03:53 PM, Walter Bright wrote:
> That doesn't solve the problem. It would need to be @rc objects from:
>
> 1. globals
> 2. outer scopes
> 3. fields of aggregates
> 4. array members
> 5. any data structure

My assumption is that the compiler gets to "see" during modular analysis 
2-5, but not 1. -- Andrei


More information about the Dlang-study mailing list