http://d.puremagic.com/issues/show_bug.cgi?id=9204
Summary: Unable to create alias to template function instance
with auto ref param
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Peter Alexander <[email protected]> 2012-12-24
17:21:46 PST ---
void foo()(auto ref int x) {}
alias foo!() bar;
$ dmd test.d
test.d(1): Error: auto can only be used for template function parameters
test.d(2): Error: template instance test.foo!() error instantiating
You get a similar error if you try to take the address of foo!()
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------