Mixture of type tuple and expression tuple

2012-02-06 Thread Matthias Walter
Hi, I'd like to have a function foo which shall depend on several compile-time expressions (e.g. strings) and gets several arguments whose types are templatized. Here, several means in both cases that the number of expressions/arguments are to be determined at compile-time. Here is an example:

Re: Mixture of type tuple and expression tuple

2012-02-06 Thread Timon Gehr
On 02/06/2012 11:26 PM, Matthias Walter wrote: Hi, I'd like to have a function foo which shall depend on several compile-time expressions (e.g. strings) and gets several arguments whose types are templatized. Here, several means in both cases that the number of expressions/arguments are to be

Re: Mixture of type tuple and expression tuple

2012-02-06 Thread Daniel Murphy
http://d.puremagic.com/issues/show_bug.cgi?id=2599 Matthias Walter xa...@xammy.homelinux.net wrote in message news:mailman.71.1328567829.20196.digitalmars-d-le...@puremagic.com... Hi, I'd like to have a function foo which shall depend on several compile-time expressions (e.g. strings) and