std.allocator ready for some abuse

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Oct 25 18:26:03 PDT 2013


On 10/25/13 6:17 PM, goughy wrote:
> On Thursday, 24 October 2013 at 19:53:56 UTC, Andrei Alexandrescu wrote:
>> Hello,
>>
>>
>> I know it's been a long wait. Hopefully it was worth it. The alpha
>> release of untyped allocators is ready for tire-kicking and a test drive.
>>
>> Code: https://github.com/andralex/phobos/blob/allocator/std/allocator.d
>>
>> Dox: http://erdani.com/d/phobos-prerelease/std_allocator.html
>
> Not really qualified to comment, but looks cool.
>
> Looking at AllocatorWithStats,
>
> https://github.com/andralex/phobos/blob/allocator/std/allocator.d#L2913
>
> it looks like an error, should be
>
> ... static if (flags & Options.callerTime)
>
> Goughy

Famous criminals Cut & Paste strike again. Thanks!

Andrei


More information about the Digitalmars-d mailing list