有没有办法去除一个std::tuple<T...>以便让它回来T...?
例
假设vct<T...>是一个预先存在的 可变参数类模板,
using U = std::tuple<int,char,std::string>;
using X = vct<int,char,std::string>;
using Y = vct< strip<U> >; // should be same as X
Run Code Online (Sandbox Code Playgroud)
笔记
我知道std :: tuple_element,但我需要所有元素,以一种可用的形式T...
作为参考,我发现这个问题,这是类似的,但我的需求是较为简单(所以我希望有一个简单的解决方案):我需要的是那些在类型列表tuple-我不关心tuple实例的实际值.