标签: c++11 gcc variadic-templates specialization non-type
考虑this代码:
template < const int&... > struct AA; template < > struct AA<> { }; template < const int& II, const int&... Is > struct AA<II,Is...> { };
这与gcc-7.0.1失败,错误消息如partial specialization is not more specialized。这是一个错误或这个代码有什么问题吗?它有解决方法吗?
partial specialization is not more specialized