[Issue 8494] Return value for Tuple.opAssign

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Aug 30 04:16:53 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=8494

Simen Kjaeraas <simen.kjaras at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simen.kjaras at gmail.com

--- Comment #8 from Simen Kjaeraas <simen.kjaras at gmail.com> ---
As has been pointed out, part of this bug is a two-line fix in typecons.d to
have opAssign return ref Tuple. (PR: https://github.com/dlang/phobos/pull/5713)

The other part is bigger - we're looking at either multiple alias this or
implicitly casting AliasSeq!(3) to int. I'd argue the latter is probably the
best solution here. At any rate, that's a DMD fix, not Phobos.

--


More information about the Digitalmars-d-bugs mailing list