Operating on a Variadic Function Parameter Set
"Nordlöw" via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Nov 16 04:12:29 PST 2014
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 just found out that Tuple member expand does what I want here.
More information about the Digitalmars-d-learn
mailing list