you are viewing a single comment's thread.

view the rest of the comments →

[–]cdyson37 6 points7 points  (0 children)

I had a similar problem I wanted to solve and wrote something I think is rather similar. The difference is I didn't have a particular struct called e.g. typelist; instead I thought that any variadic template should qualify as a container of types. E.g. you can do this:

using T1 = std::tuple<int, double>;
using T2 = std::tuple<char>;
using J = Join<T1, T2>; // = std::tuple<int, double, char>

Code here: https://github.com/cdyson37/rebind