On Tue, Apr 28, 2009 at 3:07 PM, grauzone <[email protected]> wrote: > > I'd like to pass several functions at once. Is there a way to make this > variadic? The obvious approach (writing "NameOfFunc(alias f...)") fails with > a syntax error.
Sure, you'd just make it NameOfFunc(f...) and then recursively instantiate, converting one item at a time to its name until f.length == 0. Alternatively, you can write a compile-time map and use NameOfFunc as the mapping predicate.
