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

Reply via email to