[Issue 14780] Non-intuitive behavior for pointers to aggregates defining opSlice

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jul 7 07:36:41 PDT 2015


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

ag0aep6g at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ag0aep6g at gmail.com

--- Comment #1 from ag0aep6g at gmail.com ---
Currently, operator overloads don't go through pointers. I.e., this isn't
unique to opSlice.

Only letting opSlice go through pointers would be silly, in my opinion. Doing
it for all operators would be quite a change and should be well thought out.

--


More information about the Digitalmars-d-bugs mailing list