[Issue 24679] New: [ref variables] Allow `auto ref`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 24 17:02:54 UTC 2024


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

          Issue ID: 24679
           Summary: [ref variables] Allow `auto ref`
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: qs.il.paperinik at gmail.com

In particular for meta-programming, but also generally useful: Allow `auto ref`
variables that are `ref` if and only if their initializer is an lvalue.

--


More information about the Digitalmars-d-bugs mailing list