[Issue 2599] Two variadic parameters should be accepted

2020-08-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2599 Mathias LANG changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 2599] Two variadic parameters should be accepted

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2599 Andrei Alexandrescu changed: What|Removed |Added Version|unspecified |D2 --

[Issue 2599] Two variadic parameters should be accepted

2009-01-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2599 s...@iname.com changed: What|Removed |Added CC||s...@iname.com --- Comment #1 fr

[Issue 2599] Two variadic parameters should be accepted

2009-01-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2599 --- Comment #2 from and...@metalanguage.com 2009-01-24 08:45 --- (In reply to comment #1) > How would you use such a thing? > > The trouble is that F!(int, char[], Object) in itself is ambiguous - does T1 > bind to int and T2 to (cha

[Issue 2599] Two variadic parameters should be accepted

2009-01-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2599 --- Comment #3 from s...@iname.com 2009-01-25 08:54 --- > When instantiated explicitly, all explicit arguments are eaten by > T1. This is the purpose of the pattern: pass some explicit > arguments, then deduce some more implicitly.

[Issue 2599] Two variadic parameters should be accepted

2009-01-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2599 --- Comment #4 from and...@metalanguage.com 2009-01-25 09:09 --- (In reply to comment #3) > > When instantiated explicitly, all explicit arguments are eaten by > > T1. This is the purpose of the pattern: pass some explicit > > argu

[Issue 2599] Two variadic parameters should be accepted

2009-01-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2599 --- Comment #5 from s...@iname.com 2009-01-25 09:37 --- (In reply to comment #4) > Try this at home: > > void fun(T1, T2)(T2 x) > { > } > > void main() > { > fun!(int)("a"); > } But where's it documented? Are you sure it isn't

[Issue 2599] Two variadic parameters should be accepted

2009-01-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2599 --- Comment #6 from and...@metalanguage.com 2009-01-25 09:46 --- (In reply to comment #5) > (In reply to comment #4) > > Try this at home: > > > > void fun(T1, T2)(T2 x) > > { > > } > > > > void main() > > { > > fun!(int)("a");