Does anyone care if Tuple.slice() returns by ref?

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Sun Feb 7 08:49:16 PST 2016


On Sunday, 7 February 2016 at 16:27:32 UTC, Saurabh Das wrote:
> Why is the design flawed?

Because it breaks expectations.

Tuples should be builtin and the primarily use case is supporting 
multiple return values with heavy duty register optimization.



More information about the Digitalmars-d mailing list