May 01, 2008 [Issue 2062] New: Cannot deduce template type | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2062 Summary: Cannot deduce template type Product: D Version: 2.013 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: caron800@googlemail.com The compiler can't figure this one out void foo(T)(const(T)[] s, const(T)[] t) { } void main() { foo("hello","world"); } (However it /can/ figure out similar templates with only one parameter). -- |
February 01, 2011 [Issue 2062] Cannot deduce template type | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2062 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug@yahoo.com.au Resolution| |FIXED --- Comment #1 from Don <clugdbug@yahoo.com.au> 2011-01-31 23:57:27 PST --- Fixed between 2.014 and 2.020. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation