RFC on range design for D2

Lars Ivar Igesund larsivar at igesund.net
Tue Sep 9 09:20:52 PDT 2008


Andrei Alexandrescu wrote:

> A slice is a range alright without any extra adaptation. It has some
> extra functions, e.g. ~=, that are not defined for ranges.

Aren't slices const/readonly/whatnot and thus ~= not possible without
copying/allocation?

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango


More information about the Digitalmars-d-announce mailing list