RFC on SlidingSplitter Range

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 3 13:28:23 PDT 2014


On Friday, 3 October 2014 at 20:15:33 UTC, Nordlöw wrote:
> Could you please take a look again at

I made another update at

https://github.com/nordlow/justd/blob/master/range_ex.d#L15

I had forgotten to move front and popFront out of static if 
hasSlicing!R

Now

     auto name = slidingSplitter("Nordlöw");

errors

range_ex.d(41,24): Error: incompatible types for ((this._index) 
+= (stride(this._data, this._index))): 'ulong' and 'Result'
range_ex.d(88,12): Error: template instance 
range_ex.SlidingSplitter!string error instantiating
range_ex.d(131,32):        instantiated from here: 
slidingSplitter!string


More information about the Digitalmars-d-learn mailing list