ranges have been exhausted.
moveSome
fn
Tuple!(InputRange1, InputRange2) moveSome(InputRange1, InputRange2)(InputRange1 src, InputRange2 tgt) if (isInputRange!InputRange1 && isInputRange!InputRange2
&& is(typeof(move(src.front, tgt.front))))Calls move(a, b) for each element a in src and the corresponding element b in tgt, in increasing order, stopping when either range has been exhausted.
Parameters
src | An input range with movable elements. |
tgt | An input range with elements that elements from src can be moved into. |
Returns
The leftover portions of the two ranges after one or the other of the