Remove obsolete TypeTuple references

Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
This commit is contained in:
Dragos Carp 2015-10-13 20:30:32 +02:00
parent 8d9d606ef8
commit d698887729
48 changed files with 643 additions and 645 deletions

View file

@ -425,7 +425,7 @@ public import std.container.dlist;
public import std.container.rbtree;
public import std.container.slist;
import std.typetuple;
import std.meta;
/* The following documentation and type $(D TotalContainer) are
@ -470,7 +470,7 @@ the type of the $(D k)th key of the container.
A container may define both $(D KeyType) and $(D KeyTypes), e.g. in
the case it has the notion of primary/preferred key.
*/
alias KeyTypes = TypeTuple!T;
alias KeyTypes = AliasSeq!T;
/**
If the container has a notion of key-value mapping, $(D ValueType)

View file

@ -701,9 +701,9 @@ private struct RBRange(N)
final class RedBlackTree(T, alias less = "a < b", bool allowDuplicates = false)
if(is(typeof(binaryFun!less(T.init, T.init))))
{
import std.meta : allSatisfy;
import std.range.primitives;
import std.range : Take;
import std.typetuple : allSatisfy;
import std.traits;
alias _less = binaryFun!less;