Does anyone care if Tuple.slice() returns by ref?
Saurabh Das via Digitalmars-d
digitalmars-d at puremagic.com
Sun Feb 7 08:27:32 PST 2016
On Sunday, 7 February 2016 at 13:13:21 UTC, Ola Fosheim Grøstad
wrote:
> On Sunday, 7 February 2016 at 13:01:14 UTC, tsbockman wrote:
>> That is essentially what my PR does. But, some people are
>> unhappy with the thought of a slice's type not matching the
>> type of the equivalent standard Tuple:
>
> Well, Tuple is flawed by design for more than one reason. IMO
> it should be replaced wholesale with a clean design with
> consistent semantics.
Why is the design flawed?
More information about the Digitalmars-d
mailing list