Re: Definition of "OutputRange" insuficient

2012-07-17 Thread monarch_dodra
OutputRange is designed for infinite output ranges, like output files and appender. [snip] Well, "designed" is open for interpretation. Yes, all (most) "ranges defined as output" (files, streams, appenders) are infinite, and don't define empty (or define it as false). But that does not me

Re: Definition of "OutputRange" insuficient

2012-07-17 Thread Andrei Alexandrescu
On 7/17/12 6:44 AM, monarch_dodra wrote: I was trying to fix a few bugs in algorithm, as well as be more correct in template type specifiers, and I have to say: There is a serious restraint in the definition of an outputRange. The current definition of "isOutputRange" is simply that "an output r

Re: Definition of "OutputRange" insuficient

2012-07-17 Thread Christophe Travert
"monarch_dodra" , dans le message (digitalmars.D:172586), a écrit : > I was trying to fix a few bugs in algorithm, as well as be more > correct in template type specifiers, and I have to say: There is > a serious restraint in the definition of an outputRange. > > The current definition of "isOut

Definition of "OutputRange" insuficient

2012-07-17 Thread monarch_dodra
I was trying to fix a few bugs in algorithm, as well as be more correct in template type specifiers, and I have to say: There is a serious restraint in the definition of an outputRange. The current definition of "isOutputRange" is simply that "an output range is defined functionally as a range