[Issue 17023] New: opUnaryAssign is missing

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Dec 23 15:33:08 PST 2016


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

          Issue ID: 17023
           Summary: opUnaryAssign is missing
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ilyayaroshenko at gmail.com

opUnaryAssign operator method for overloading is missing.
It is required for pointer simulation in code like:

---
*ptr = value;
---

when *ptr can not return by reference.

Required for mir/ndslice.

--


More information about the Digitalmars-d-bugs mailing list