apply function to parameters

bearophile bearophileHUGS at lycos.com
Tue Aug 6 07:44:17 PDT 2013


Jack Applegame:

> In other words, I need something like this:
>
> foo(magicTemplate!(f, a1, a2, a3...)) === foo(f(a1), f(a2), 
> f(a3)...)

Sorry, your second post was not yet present and I misunderstood 
your question.

Take a look at std.typetuple.staticMap

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list