On 08/28/2010 07:06 PM, Manfred_Nowak wrote:
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.
It does, it just yields (only) a forward range. The allBefore() thing is
only in the discussion stage.
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
typedef? What's typedef? :o)
Andrei