Using template typetuples?
Sean Eskapp
eatingstaples at gmail.com
Wed Jan 12 06:38:59 PST 2011
The language documentation covers some basic uses of TypeTuples in templates,
but nothing about using them with classes. I would like a template class,
which essentially wraps a function, which has template parameters for return
value and template tuple arguments.
However, what if I want to convert a TypeTuple of int, double, string to its
respective Function-wrapped TypeTuple, i.e. Function!int, Function!double,
Function!string. Is there any way to do so?
More information about the Digitalmars-d-learn
mailing list