From fc132046bf0dc6efcb1ee40833fd1896cbdd3324 Mon Sep 17 00:00:00 2001 From: Geod24 Date: Sun, 21 Dec 2014 22:14:31 +0100 Subject: [PATCH] Remove deprecated and undocumented hasLocalAliasing, hasRawLocalAliasing, hasLocalObjects --- std/concurrency.d | 2 +- std/traits.d | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/std/concurrency.d b/std/concurrency.d index 8043c7a7ddc..080ecacde28 100644 --- a/std/concurrency.d +++ b/std/concurrency.d @@ -87,7 +87,7 @@ private static if( !T.length ) enum hasLocalAliasing = false; else - enum hasLocalAliasing = (std.traits.hasLocalAliasing!(T[0]) && !is(T[0] == Tid)) || + enum hasLocalAliasing = (std.traits.hasUnsharedAliasing!(T[0]) && !is(T[0] == Tid)) || std.concurrency.hasLocalAliasing!(T[1 .. $]); } diff --git a/std/traits.d b/std/traits.d index 05796c6855b..342667e6e22 100644 --- a/std/traits.d +++ b/std/traits.d @@ -3009,11 +3009,6 @@ unittest //12000 A!int dummy; } -//Explicitly undocumented. They will be removed in December 2014. -deprecated("Please use hasLocalAliasing instead.") alias hasLocalAliasing = hasUnsharedAliasing; -deprecated("Please use hasRawLocalAliasing instead.") alias hasRawLocalAliasing = hasRawUnsharedAliasing; -deprecated("Please use hasLocalObjects instead.") alias hasLocalObjects = hasUnsharedObjects; - /** Returns $(D true) if and only if $(D T)'s representation includes at least one of the following: $(OL $(LI a raw pointer $(D U*) and $(D U)