std.allocator needs your help

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Sep 24 12:49:30 PDT 2013


On 9/24/13 12:47 PM, Dmitry Olshansky wrote:
> 24-Sep-2013 23:36, Andrei Alexandrescu пишет:
>> On 9/24/13 11:28 AM, Rainer Schuetze wrote:
>>>
> [snip]
>
>> which causes confusion - people will pass small sizes to expand()
>> expecting it to contract, something that expand() can't support as a
>> matter of principle (safety!!!).
>>
>
> Showstopper. It has to support contraction.

reallocate() is allowed contract. Show restarted :o).

Andrei




More information about the Digitalmars-d mailing list