Skip to content

Commit

Permalink
Merge pull request #2807 from Geod24/haslocalaliasing
Browse files Browse the repository at this point in the history
Remove deprecated / undocumented hasLocalAliasing, hasRawLocalAliasing, hasLocalObjects
  • Loading branch information
AndrejMitrovic committed Dec 22, 2014
2 parents f9c5ff3 + fc13204 commit 1fa7d76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion std/concurrency.d
Expand Up @@ -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 .. $]);
}

Expand Down
5 changes: 0 additions & 5 deletions std/traits.d
Expand Up @@ -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)
Expand Down

0 comments on commit 1fa7d76

Please sign in to comment.