std.allocator ready for some abuse

Lars T. Kyllingstad public at kyllingen.net
Mon Oct 28 01:03:58 PDT 2013


On Sunday, 27 October 2013 at 10:45:31 UTC, Andrei Alexandrescu 
wrote:
> Just implemented AlignedMallocator and pushed.
>
> http://erdani.com/d/phobos-prerelease/std_allocator.html#.AlignedMallocator
>
> Untested on Windows.

It seems inconsistent that allocate() forwards to 
alignedAllocate(), while reallocate() does not forward to 
alignedReallocate().  Why is this?

Lars


More information about the Digitalmars-d mailing list