Move deprecations along.

This commit is contained in:
Jonathan M Davis 2017-05-07 11:27:48 +02:00
parent 478814331c
commit 07fddbb388
4 changed files with 0 additions and 32 deletions

View file

@ -195,6 +195,3 @@ public import std.algorithm.searching;
public import std.algorithm.sorting;
static import std.functional;
// Explicitly undocumented. It will be removed in March 2017. @@@DEPRECATED_2017-03@@@
deprecated("Please use std.functional.forward instead.")
alias forward = std.functional.forward;

View file

@ -7217,14 +7217,6 @@ bool approxEqual(T, U)(T lhs, U rhs)
assert(approxEqual(10, a));
}
// Explicitly undocumented. They will be removed in March 2017. @@@DEPRECATED_2017-03@@@
// Included for backwards compatibility with Phobos1
deprecated("Phobos1 math functions are deprecated, use isNaN") alias isnan = isNaN;
deprecated("Phobos1 math functions are deprecated, use isFinite ") alias isfinite = isFinite;
deprecated("Phobos1 math functions are deprecated, use isNormal ") alias isnormal = isNormal;
deprecated("Phobos1 math functions are deprecated, use isSubnormal ") alias issubnormal = isSubnormal;
deprecated("Phobos1 math functions are deprecated, use isInfinity ") alias isinf = isInfinity;
@safe pure nothrow @nogc unittest
{
real num = real.infinity;

View file

@ -252,13 +252,6 @@ if (!isAggregateType!T || is(Unqual!T == T))
alias OldAlias = T;
}
deprecated("Alias will stop to unqualify user defined types.")
package template OldAlias(T)
if (isAggregateType!T && !is(Unqual!T == T))
{
alias OldAlias = Unqual!T;
}
@safe unittest
{
static struct Foo {}
@ -348,10 +341,6 @@ if (args.length >= 1)
static assert(staticIndexOf!("void", 0, void, "void") == 2);
}
// Explicitly undocumented. It will be removed in February 2017. @@@DEPRECATED_2017-02@@@
deprecated("Please use staticIndexOf")
alias IndexOf = staticIndexOf;
/**
* Returns a typetuple created from TList with the first occurrence,
* if any, of T removed.

View file

@ -826,16 +826,6 @@ if (is(T == char) || is(T == ubyte))
return _basicHTTP!(T)(url, null, conn);
}
// Explicitly undocumented. It will be removed in February 2017. @@@DEPRECATED_2017-02@@@
deprecated("options does not send any data")
T[] options(T = char, OptionsUnit)(const(char)[] url,
const(OptionsUnit)[] optionsData = null,
HTTP conn = HTTP())
if (is(T == char) || is(T == ubyte))
{
return options!T(url, conn);
}
@system unittest
{
import std.algorithm.searching : canFind;