std.allocator needs your help

Manu turkeyman at gmail.com
Mon Sep 23 07:53:21 PDT 2013


On 24 September 2013 00:49, Andrei Alexandrescu <
SeeWebsiteForEmail at erdan.org> wrote:

> "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.
>

Mmm, precisely what I was talking about.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130924/5f520636/attachment.html>


More information about the Digitalmars-d mailing list