Fix InputRanges for non-copyable elements

This commit is contained in:
2021-03-11 10:18:02 +01:00
parent a227b58407
commit f27f62b80a
16 changed files with 27 additions and 510 deletions

View File

@ -20,7 +20,7 @@
*/
module tanya.algorithm.iteration;
import tanya.algorithm.comparison;
import std.algorithm.comparison;
import tanya.memory.lifetime;
import tanya.meta.trait;
import tanya.meta.transform;
@ -558,8 +558,6 @@ if (isBidirectionalRange!Range)
///
@nogc nothrow pure @safe unittest
{
import tanya.algorithm.comparison : equal;
const int[3] given = [1, 2, 3];
const int[3] expected = [3, 2, 1];