Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template Tuple (E...)
- {
- alias Tuple = E;
- }
- void main ()
- {
- // Would be a string tuple.
- alias SomeTuple = Tuple!();
- int[string] map = [];
- auto a = map[SomeTuple[0]];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement