mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +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
|
@ -442,13 +442,13 @@ unittest
|
|||
// purity and safety inference test
|
||||
unittest
|
||||
{
|
||||
import std.typetuple;
|
||||
import std.meta : AliasSeq;
|
||||
|
||||
foreach (EncloseSafe; TypeTuple!(false, true))
|
||||
foreach (EnclosePure; TypeTuple!(false, true))
|
||||
foreach (EncloseSafe; AliasSeq!(false, true))
|
||||
foreach (EnclosePure; AliasSeq!(false, true))
|
||||
{
|
||||
foreach (BodySafe; TypeTuple!(false, true))
|
||||
foreach (BodyPure; TypeTuple!(false, true))
|
||||
foreach (BodySafe; AliasSeq!(false, true))
|
||||
foreach (BodyPure; AliasSeq!(false, true))
|
||||
{
|
||||
enum code =
|
||||
"delegate void() " ~
|
||||
|
@ -1226,7 +1226,7 @@ unittest
|
|||
//To check the class payload itself, iterate on its members:
|
||||
()
|
||||
{
|
||||
foreach (index, _; FieldTypeTuple!C)
|
||||
foreach (index, _; Fields!C)
|
||||
if (doesPointTo(a.tupleof[index], i))
|
||||
return;
|
||||
assert(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue