std.allocator needs your help
Simen Kjaeraas
simen.kjaras at gmail.com
Mon Sep 23 07:16:50 PDT 2013
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.
--
Simen
More information about the Digitalmars-d
mailing list