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