digitalmars.D.bugs - [Issue 14176] New: the code has a link problem.
- via Digitalmars-d-bugs (27/27) Feb 13 2015 https://issues.dlang.org/show_bug.cgi?id=14176
https://issues.dlang.org/show_bug.cgi?id=14176 Issue ID: 14176 Summary: the code has a link problem. Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: steven_kladitis yahoo.com import std.stdio; import std.traits; int foo(int x, long y); void Bar(R, P...)(R function(P)) { writeln("return type is ", typeid(R)); writeln("parameter types are ", typeid(P)); } void main() { Bar(&foo); } // compiles but does not link in windows --
Feb 13 2015