以下代码无法使用 VC++ 2013 CTP 编译。
template <template <class> A, class B>
void f(A<B>)
{}
输出如下:
error C2988: unrecognizable template declaration/definition
error C2059: syntax error : '<L_TEMPLATEDECL>'
error C2065: 'A' : undeclared identifier
error C2065: 'B' : undeclared identifier
error C2988: unrecognizable template declaration/definition
error C2059: syntax error : ')'