Add algorithm package with move and moveEmplace

This commit is contained in:
2017-10-29 07:51:00 +01:00
parent 414d7a11a8
commit 7a2768340e
9 changed files with 209 additions and 10 deletions

View File

@ -16,8 +16,16 @@ module tanya.container.array;
import core.checkedint;
import std.algorithm.comparison;
import std.algorithm.mutation;
import std.algorithm.mutation : bringToFront,
copy,
fill,
initializeAll,
moveEmplaceAll,
moveAll,
swap,
uninitializedFill;
import std.meta;
import tanya.algorithm.mutation;
import tanya.exception;
import tanya.memory;
import tanya.meta.trait;

View File

@ -15,11 +15,13 @@
module tanya.container.list;
import std.algorithm.comparison;
import std.algorithm.mutation;
import std.algorithm.mutation : swap;
import std.algorithm.searching;
import tanya.algorithm.mutation;
import tanya.container.entry;
import tanya.memory;
import tanya.meta.trait;
import tanya.meta.transform;
import tanya.range.array;
import tanya.range.primitive;

View File

@ -14,7 +14,7 @@
*/
module tanya.container.queue;
import std.algorithm.mutation;
import tanya.algorithm.mutation;
import tanya.container.entry;
import tanya.exception;
import tanya.memory;

View File

@ -15,7 +15,8 @@
*/
module tanya.container.set;
import std.algorithm.mutation;
import std.algorithm.mutation : swap;
import tanya.algorithm.mutation;
import tanya.container;
import tanya.container.entry;
import tanya.memory;

View File

@ -27,9 +27,10 @@
module tanya.container.string;
import std.algorithm.comparison;
import std.algorithm.mutation;
import std.algorithm.mutation : bringToFront, copy, swap;
import std.algorithm.searching;
static import std.range;
import tanya.algorithm.mutation;
import tanya.memory;
import tanya.meta.trait;
import tanya.meta.transform;