https://issues.dlang.org/show_bug.cgi?id=2504: reserve for associative arrays

Shachar Shemesh via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 4 02:37:39 PDT 2016


On 03/11/16 23:00, Yuxuan Shui wrote:
> On Wednesday, 2 November 2016 at 03:36:42 UTC, Andrei Alexandrescu wrote:
>> [snip]
>>
>> * The implementation cannot use Phobos' allocator because it's in
>> druntime.
>
> How about let the user provide the memory block when they calls reserve()?
>

I think that's just a halfhearted attempt at introducing STL's allocators.

Shachar



More information about the Digitalmars-d mailing list