How do you deal with scoped allocations?

Namespace rswhite4 at googlemail.com
Sun Dec 8 10:55:24 PST 2013


On Sunday, 8 December 2013 at 18:33:39 UTC, Joseph Rushton 
Wakeling wrote:
> On 08/12/13 19:18, thedeemon wrote:
>> I just use
>>     scope(exit) delete buf;
>
> Deprecated or at least disapproved of, no?

Sadly yes.


More information about the Digitalmars-d mailing list