mirror of
https://github.com/dlang/phobos.git
synced 2025-05-01 15:40:36 +03:00
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:
parent
8d9d606ef8
commit
d698887729
48 changed files with 643 additions and 645 deletions
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue