DIP25 draft available for destruction

deadalnix deadalnix at gmail.com
Wed Feb 6 19:20:25 PST 2013


On Wednesday, 6 February 2013 at 22:33:57 UTC, Andrei 
Alexandrescu wrote:
> On 2/6/13 5:22 PM, Timon Gehr wrote:
>> I see. Generally?
>> Eg. this detects the escape and allocates as well?:
>>
>> S* foo()@safe{
>> S s;
>> return &s;
>> }
>
> I think I'm starting to see what you're doing there :o).
>

I have to admit this was a big puzzling point to me as well.


More information about the Digitalmars-d mailing list