std.algorithm.remove and principle of least astonishment
Jonathan M Davis
jmdavisProg at gmx.com
Mon Nov 22 02:57:59 PST 2010
On Monday 22 November 2010 02:01:38 Rainer Deyke wrote:
> On 11/22/2010 00:08, Andrei Alexandrescu wrote:
> > On 11/21/10 11:59 PM, Rainer Deyke wrote:
> >> That the range view and the array view provide direct access to the same
> >> data.
> >
> > Where do ranges state that assumption?
>
> Are you saying that arrays of T do not function as ranges of T when T is
> not a character type?
I believe that he means that you either use them as ranges or you use them as
arrays. Mixing the two sets of operations is asking for trouble.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list