Make isWideString compatible with Phobos isNarrowString
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
module tanya.algorithm.iteration;
|
||||
|
||||
import std.traits : Unqual;
|
||||
import std.traits : Unqual, isMutable;
|
||||
import std.typecons;
|
||||
import tanya.memory.lifetime;
|
||||
import tanya.meta.trait;
|
||||
|
@@ -14,7 +14,8 @@
|
||||
*/
|
||||
module tanya.algorithm.mutation;
|
||||
|
||||
import std.traits : Unqual, hasElaborateAssign, hasElaborateCopyConstructor, hasElaborateDestructor;
|
||||
import std.traits : Unqual, hasElaborateAssign, hasElaborateCopyConstructor, hasElaborateDestructor, isAssignable,
|
||||
isDynamicArray;
|
||||
static import tanya.memory.lifetime;
|
||||
static import tanya.memory.op;
|
||||
import tanya.meta.trait;
|
||||
|
@@ -18,7 +18,7 @@ import core.checkedint;
|
||||
import std.algorithm.comparison;
|
||||
import std.algorithm.iteration;
|
||||
import std.algorithm.mutation : bringToFront;
|
||||
import std.traits : PointerTarget, Unqual, hasElaborateDestructor;
|
||||
import std.traits : PointerTarget, Unqual, hasElaborateDestructor, isImplicitlyConvertible, isCopyable;
|
||||
import tanya.algorithm.mutation;
|
||||
import tanya.memory.allocator;
|
||||
import tanya.memory.lifetime;
|
||||
|
@@ -15,7 +15,7 @@
|
||||
module tanya.container.hashtable;
|
||||
|
||||
import std.algorithm.iteration;
|
||||
import std.traits : CopyConstness, Unqual, ifTestable;
|
||||
import std.traits : CopyConstness, Unqual, ifTestable, isMutable;
|
||||
import tanya.algorithm.mutation;
|
||||
import tanya.container.array;
|
||||
import tanya.container.entry;
|
||||
|
@@ -17,7 +17,7 @@ module tanya.container.list;
|
||||
|
||||
import std.algorithm.comparison;
|
||||
import std.algorithm.iteration;
|
||||
import std.traits : Unqual;
|
||||
import std.traits : Unqual, isImplicitlyConvertible, isCopyable;
|
||||
import tanya.container.entry;
|
||||
import tanya.memory.allocator;
|
||||
import tanya.memory.lifetime;
|
||||
|
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
module tanya.container.set;
|
||||
|
||||
import std.traits : CopyConstness, Unqual, ifTestable;
|
||||
import std.traits : CopyConstness, Unqual, ifTestable, isImplicitlyConvertible, isMutable;
|
||||
import tanya.container.array;
|
||||
import tanya.container.entry;
|
||||
import tanya.hash.lookup;
|
||||
|
@@ -28,7 +28,7 @@ module tanya.container.string;
|
||||
|
||||
import std.algorithm.comparison;
|
||||
import std.algorithm.mutation : bringToFront;
|
||||
import std.traits : CopyConstness, Unqual;
|
||||
import std.traits : CopyConstness, Unqual, isInstanceOf, isSomeChar, isNarrowString;
|
||||
import tanya.algorithm.mutation;
|
||||
import tanya.hash.lookup;
|
||||
import tanya.memory.allocator;
|
||||
|
@@ -14,7 +14,8 @@
|
||||
*/
|
||||
module tanya.conv;
|
||||
|
||||
import std.traits : Unsigned, isNumeric, Largest, Unqual, EnumMembers;
|
||||
import std.traits : Unsigned, isNumeric, Largest, Unqual, EnumMembers, isFloatingPoint, isSomeChar, isSigned,
|
||||
isUnsigned, isIntegral, isSomeString;
|
||||
import tanya.container.string;
|
||||
import tanya.memory.allocator;
|
||||
import tanya.meta.trait;
|
||||
|
@@ -49,7 +49,7 @@ module tanya.format;
|
||||
|
||||
import std.algorithm.comparison;
|
||||
import std.ascii;
|
||||
import std.traits : Unqual;
|
||||
import std.traits : Unqual, isPointer, isSomeChar, isFloatingPoint, isSomeFunction, isIntegral, isSomeString;
|
||||
import tanya.container.string;
|
||||
import tanya.math;
|
||||
static import tanya.memory.op;
|
||||
|
@@ -14,7 +14,7 @@
|
||||
*/
|
||||
module tanya.hash.lookup;
|
||||
|
||||
import std.traits : isScalarType;
|
||||
import std.traits : isScalarType, isPointer, isSomeChar, isArray, isIntegral, isBoolean;
|
||||
import tanya.meta.trait;
|
||||
import tanya.range.primitive;
|
||||
|
||||
|
@@ -22,7 +22,7 @@
|
||||
module tanya.math;
|
||||
|
||||
import std.math;
|
||||
import std.traits : Unqual;
|
||||
import std.traits : Unqual, isFloatingPoint;
|
||||
import tanya.meta.trait;
|
||||
|
||||
/// Floating-point number precisions according to IEEE-754.
|
||||
|
@@ -14,7 +14,7 @@
|
||||
*/
|
||||
module tanya.net.inet;
|
||||
|
||||
import std.traits : Unqual;
|
||||
import std.traits : Unqual, isUnsigned;
|
||||
import tanya.meta.trait;
|
||||
import tanya.range;
|
||||
|
||||
|
@@ -14,6 +14,7 @@
|
||||
*/
|
||||
module tanya.range.adapter;
|
||||
|
||||
import std.traits : hasMember, isArray;
|
||||
import tanya.algorithm.mutation;
|
||||
import tanya.memory.lifetime;
|
||||
import tanya.meta.trait;
|
||||
|
@@ -15,7 +15,7 @@
|
||||
module tanya.range.primitive;
|
||||
|
||||
import std.algorithm.comparison;
|
||||
import std.traits : FunctionAttribute, hasElaborateCopyConstructor, functionAttributes;
|
||||
import std.traits : FunctionAttribute, ReturnType, hasElaborateCopyConstructor, functionAttributes;
|
||||
import tanya.memory.lifetime;
|
||||
import tanya.meta.trait;
|
||||
import tanya.range.array;
|
||||
|
Reference in New Issue
Block a user