Function parameters from TypeTuple
Justin Whear via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Oct 17 11:30:57 PDT 2014
On Fri, 17 Oct 2014 17:44:47 +0000, Tofu Ninja wrote:
> Basicly what I am trying to do is have a function template that will
> generate its parameters to be arrays of the types of a type tuple.
>
> So for instance the parameters of f!(int, char) would be (int[],
> char[])...
>
> No matter what I try, the compiler vomits all over me...
This what you're thinking of?
http://dpaste.dzfl.pl/724bd2573e98
More information about the Digitalmars-d-learn
mailing list