Replace std min/max. Fix #35

This commit is contained in:
2018-04-26 10:23:06 +02:00
parent 3468d6ea00
commit c0f9e5be10
8 changed files with 206 additions and 202 deletions

View File

@ -15,13 +15,14 @@
module tanya.container.array;
import core.checkedint;
import std.algorithm.comparison;
import std.algorithm.comparison : equal;
import std.algorithm.mutation : bringToFront,
copy,
fill,
initializeAll,
uninitializedFill;
import std.meta;
import tanya.algorithm.comparison;
import tanya.algorithm.mutation;
import tanya.exception;
import tanya.memory;

View File

@ -15,8 +15,9 @@
*/
module tanya.container.list;
import std.algorithm.comparison;
import std.algorithm.comparison : equal;
import std.algorithm.searching;
import tanya.algorithm.comparison;
import tanya.algorithm.mutation;
import tanya.container.entry;
import tanya.memory;
@ -707,7 +708,7 @@ struct SList(T)
auto outOfScopeList = typeof(this)(allocator);
outOfScopeList.head = *r.head;
*r.head = null;
return r;
}

View File

@ -26,9 +26,10 @@
*/
module tanya.container.string;
import std.algorithm.comparison;
import std.algorithm.comparison : cmp, equal;
import std.algorithm.mutation : bringToFront, copy;
import std.algorithm.searching;
import tanya.algorithm.comparison;
import tanya.algorithm.mutation;
import tanya.memory;
import tanya.meta.trait;