I have a struct of this form:
template <typename T>
struct X
{
using value = T;
};
I am passing one or more of these to a template function like this:
template <typename... Ts>
void Func(Ts... ts);
What I really want is to explicitly list the X
s and have the function parameter types be the value
s of the Ts
. How would I do that?
Aucun commentaire:
Enregistrer un commentaire