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

@ -460,8 +460,8 @@ $(WEB sgi.com/tech/stl/copy_backward.html, STL's copy_backward'):
@safe unittest
{
// Issue 13650
import std.typecons : TypeTuple;
foreach (Char; TypeTuple!(char, wchar, dchar))
import std.meta : AliasSeq;
foreach (Char; AliasSeq!(char, wchar, dchar))
{
Char[3] a1 = "123";
Char[6] a2 = "456789";
@ -775,8 +775,8 @@ unittest
unittest
{
import std.algorithm.iteration : filter;
import std.meta : AliasSeq;
import std.traits : hasElaborateAssign;
import std.typetuple : TypeTuple;
debug(std_algorithm) scope(success)
writeln("unittest @", __FILE__, ":", __LINE__, " done.");
@ -827,7 +827,7 @@ unittest
assert (!typeid(S3).init().ptr);
assert ( typeid(S4).init().ptr);
foreach(S; TypeTuple!(S1, S2, S3, S4))
foreach(S; AliasSeq!(S1, S2, S3, S4))
{
//initializeAll
{