On 24 September 2013 00:49, Andrei Alexandrescu < seewebsiteforem...@erdan.org> wrote:
> "Simen Kjaeraas" <simen.kja...@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.