In C++ can you capture a packed parameter with a using statement

Viewed 25

In a templated class, I would like to make an alias of a variadic parameter, something like:

template<typename ... TYPES>
class X
{
   using Types = TYPES;
};

It is easy to make a std::tuple of it, but is there a syntax for doing the above.

The reason is I would like to reference this from the templated class in another class.

0 Answers
Related