mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 15:10:46 +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
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue