Is this a bug in std.typecons.Tuple.slice?

tsbockman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Feb 8 16:38:10 PST 2016


On Sunday, 7 February 2016 at 02:11:15 UTC, Marco Leise wrote:
> What I like most about your proposal is that it doesn't break 
> any existing code that wasn't broken before. That can't be 
> emphasized enough.

Although I wish more than 3 people had voted in my poll, two of 
them did claim to need the `ref`-ness of `Tuple.slice`, so I 
don't think we can just ditch it. (I did not vote.)

If you guys want to add a return-by-value version, it should be 
treated as an enhancement, not a bug fix in my opinion.


More information about the Digitalmars-d-learn mailing list