std.allocator ready for some abuse

ChrisG christopher.gassib at gmail.com
Thu Nov 7 15:42:41 PST 2013


On Thursday, 24 October 2013 at 21:17:45 UTC, Andrei Alexandrescu 
wrote:
> On 10/24/13 2:08 PM, Walter Bright wrote:
>> On 10/24/2013 12:54 PM, Andrei Alexandrescu wrote:
>>> 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
>>
>> I'm impressed. I looked for 3 or 4 must haves, and they were 
>> there! It
>> covers all the cases I've written custom allocators for.
>
> <big sigh of relief>
>
>
> Andrei

So, is the idea to add an optional allocator template parameter 
to various objects in the phobos library, or is this only 
intended to be used standalone via the with statement?

-Chris


More information about the Digitalmars-d mailing list