@safe containers with std.experimental.allocator

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 22 05:21:41 PST 2017


On 1/21/17 10:07 PM, bitwise wrote:
> On Saturday, 21 January 2017 at 23:24:52 UTC, Andrei Alexandrescu wrote:
>> Andrei
>
> Anyways, design opinions aside, I would be satisfied if an aligned
> allocator were included in std.allocators that provided aligned heap
> memory using allocate()/deallocate(). The rest is just details with no
> practical relevance for my immediate plans.
>
>   Thanks

That should be easy and useful as an adapter over another allocator that 
supports alignedAllocate(). Please create an issue for that. Thanks! -- 
Andrei


More information about the Digitalmars-d mailing list