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: [email protected]
Reporter: [email protected]
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.
--
