Merge pull request #1793 from MartinNowak/imports

localize std.range import
This commit is contained in:
Andrei Alexandrescu 2013-12-19 21:03:49 -08:00
commit 0d3197de92

View file

@ -62,7 +62,7 @@
module std.math; module std.math;
import core.stdc.math; import core.stdc.math;
import std.range, std.traits; import std.traits;
version(unittest) version(unittest)
{ {
@ -5649,6 +5649,7 @@ unittest
*/ */
bool approxEqual(T, U, V)(T lhs, U rhs, V maxRelDiff, V maxAbsDiff = 1e-5) bool approxEqual(T, U, V)(T lhs, U rhs, V maxRelDiff, V maxAbsDiff = 1e-5)
{ {
import std.range;
static if (isInputRange!T) static if (isInputRange!T)
{ {
static if (isInputRange!U) static if (isInputRange!U)