Creating a hana::set from template parameter pack

Viewed 119

I'm struggling to figure out how to make a hana::set from a template parameter pack. I have a method that I have used for tuples (tuple_t) but it seems to create a set I have to use make_set. Here is where I'm getting stuck:

template<typename ...Ts>
class Foo
{
public:
    static constexpr auto asTuple = hana::tuple_t<Ts...>;
    static constexpr auto asSet = hana::make_set(/*what goes here?*/);
};

Thanks

1 Answers
Related