Retrieving the traversed range

Manfred_Nowak svv1999 at hotmail.com
Sat Aug 28 17:06:11 PDT 2010


Peter Alexander wrote:

> That would be all well and good if inPlaceSplit actually existed :)

In your OP you wrote:
> but Until is (correctly) not bidirectional

I recognize at least a misunderstanding in this sentence, because every 
bidirectionalRange _is_ an inputRange. Therefore `Until!' _should_ work on 
every bidirectionalRange.

If you are right, then there must be something wrong with the 
implementation. And i was upset to see
  assert( isInputRange!( int[])) // ok
  typedef int[] T;
  assert( isInputRange!( T))     // isInputRange!(T) is false

-manfred 


More information about the Digitalmars-d mailing list