C++ Transform a std::tuple<A, A, A…> to a std::vector or std::deque
问题 In the simple parser library I am writing, the results of multiple parsers is combined using std::tuple_cat . But when applying a parser that returns the same result multiple times, it becomes important to transform this tuple into a container like a vector or a deque. How can this be done? How can any tuple of the kind std::tuple<A> , std::tuple<A, A> , std::tuple<A, A, A> etc be converted into a std::vector<A> ? I think this might be possible using typename ...As and sizeof ...(As) , but I