The D Blog is Back -- A Tale of Tuples

Anton Pastukhov mail at anton9.com
Mon Apr 13 12:40:42 UTC 2026


On Monday, 13 April 2026 at 11:24:35 UTC, Timon Gehr wrote:
>
> A tuple is currently just:
>
> ```d
> struct Tuple(T...) {
>     T expand;
>     alias this = expand;
> }
> ```
>

Indeed much more elaborate. Proposal 3 would be very much in line 
with the accepted DIP's "reduce boilerplate" sentiment, at 
negligible cost. Shame it didn't happen. Still, a step in right 
direction.


More information about the Digitalmars-d-announce mailing list