digitalmars.D.bugs - [Issue 13106] New: Auto ref error when using argument tuple in
- via Digitalmars-d-bugs (32/32) Jul 12 2014 https://issues.dlang.org/show_bug.cgi?id=13106
https://issues.dlang.org/show_bug.cgi?id=13106 Issue ID: 13106 Summary: Auto ref error when using argument tuple in non-template function Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: trivial Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: czdanol gmail.com Hey, this code does not work: template Test( Args ... ) { void test( auto ref Args args ) { } } void main() { Test!int.test( 5 ); } And this one does: template Test( Args ... ) { void test()( auto ref Args args ) { } } void main() { Test!int.test( 5 ); } --
Jul 12 2014