Re: Operating on a Variadic Function Parameter Set

2014-11-16 Thread Nordlöw
On Sunday, 16 November 2014 at 11:40:16 UTC, Nordlöw wrote: If I have a variadic function such as in haystack.find(needles) what options do I have for defining needles in compile-time outside of this expression and call find() with this definition as arguments possibly multiple-times? I

Re: Operating on a Variadic Function Parameter Set

2014-11-16 Thread Nordlöw
On Sunday, 16 November 2014 at 11:40:16 UTC, Nordlöw wrote: If I have a variadic function such as in haystack.find(needles) what options do I have for defining needles in compile-time outside of this expression and call find() with this definition as arguments possibly multiple-times? I

Operating on a Variadic Function Parameter Set

2014-11-16 Thread Nordlöw
If I have a variadic function such as in haystack.find(needles) what options do I have for defining needles in compile-time outside of this expression and call find() with this definition as arguments possibly multiple-times? Is std.typecons.Tuple my only option here? Further, is it pos