Transience of .front in input vs. forward ranges

Jonathan M Davis jmdavisProg at gmx.com
Mon Nov 5 19:12:17 PST 2012


On Monday, November 05, 2012 18:36:53 H. S. Teoh wrote:
> Hmm. Another idea just occurred to me. The basic problem here is that we
> are conflating two kinds of values, transient and persistent, under a
> single name .front. What if we explicitly name them? Say, .copyFront for
> the non-transient value and .refFront for the transient value (the
> names are unimportant right now, let's consider the semantics of it).

I thought of this a couple days ago but threw it away fairly quickly, because 
it breaks _everything_. And it definitely affects all ranges for the sake of a 
few.

- Jonathan M Davis


More information about the Digitalmars-d mailing list