How exactly does Tuple work?

Jan Hönig hrominium at gmail.com
Sun Nov 8 10:03:46 UTC 2020


On Saturday, 7 November 2020 at 18:31:18 UTC, Paul Backus wrote:
> Indexing and slicing are implemented with `alias expand this`, 
> which causes `t[i]` to be lowered to `t.expand[i]`.

Is there some recourse, which explains the `alias <something> 
this`? I still don't understand what it does. I can't imagine 
what it does to my my class/struct.


More information about the Digitalmars-d-learn mailing list