[Issue 14236] opIndex... and opIndex fallback

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Mar 2 08:12:37 PST 2015


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

John Colvin <john.loughran.colvin at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|opIndexUnary and opIndex    |opIndex... and opIndex
                   |fallback                    |fallback

--- Comment #1 from John Colvin <john.loughran.colvin at gmail.com> ---
The same goes for opIndexAssign, opIndexOpAssign and so on... Once you define
one possible overload, nothing will fall back to using opIndex and then
applying the operation to the result.

--


More information about the Digitalmars-d-bugs mailing list