std.allocator ready for some abuse

Dmitry Olshansky dmitry.olsh at gmail.com
Fri Oct 25 13:01:27 PDT 2013


25-Oct-2013 23:50, deadalnix пишет:
> On Friday, 25 October 2013 at 17:57:23 UTC, Dmitry Olshansky wrote:
>> Very true. To put it simply it's a disastrous idea that sadly is too
>> easy to be ignored.
>>
>> IMHO we'd better start with containers and refitting Phobos from
>> built-in AA/arrays to user-defined containers. One interesting way
>> there is to accept/adopt containers as OutputRange.
>
> Typed allocator on top of this should be defined before this is
> discussed. Right it doesn't make a lot of sense.

Yeah, that's another step before that.

It's just I'm strongly opposed to "the strap this magical new allocator 
somewhere so that's it's global for everything, right now" movement and 
I had to plot the alternative course ;)

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list