阅读背景:

如何解压缩类型定义的类型?

来源:互联网 

For example

struct A { typedef int Type; }
struct B { typedef float Type; }

template<class... Ts>
struct C
{
    typedef tuple<Ts::Type...> TupleType; // comilation error: parameter pack 
                                          // expects a type template argument
};
struct A { typedef int Type; }
st



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: