std.allocator needs your help

Andrei Alexandrescu SeeWebsiteForEmail at erdan.org
Mon Sep 23 07:49:20 PDT 2013


"Simen Kjaeraas" <simen.kjaras at gmail.com> wrote:
> On 2013-09-23, 15:58, Andrei Alexandrescu wrote:
> 
>>> I had imagined going into this that, like the range interface which the
>>> _language_ understands and interacts with, the allocator interface would
>>> be the same, ie, the language would understand this API and integrate it
>>> with 'new', and the GC... somehow.
>> 
>> The D language has no idea what a range is. The notion is completely  >
>> defined in std.range.
> 
> The language has some knowledge of ranges, or foreach (e; myRange) would
> not work.

Great point. I amend my claim.

Andrei


More information about the Digitalmars-d mailing list