Skip to content

Commit

Permalink
Disambiguate type tuple names in 2.068.0 changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ntrel committed Oct 10, 2015
1 parent ff2d37a commit 84613ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions changelog/2.068.0.dd
Expand Up @@ -160,15 +160,15 @@ $(LI $(LNAME2 index-type-followed-ident, Indexed type tuples can now be followed
alias U = TypeTuple!(long, string);
}

alias Types = TypeTuple!(S, S);
alias Pair = TypeTuple!(S, S);

struct X(Types...) // used tuple parameter
{

Types[0].T a; // Types[0] == S, then typeof(a) == S.T == int
Types[0].U[1] b; // Types[0].U == S.U, then typeof(b) == S.U[1] == string
}
alias x = X!Types;
alias x = X!Pair;
---
)

Expand Down

0 comments on commit 84613ce

Please sign in to comment.