C++标准
第14/2节:
在函数模板声明中,declarator-id应为 模板名称(即,不是 template-id).[ 注意:在类模板声明中,如果 declarator-id是 template-id,则声明声明类模板部分特化.
是什么之间的区别template-name,template-id以及type-id?
以上引用是否意味着我们不能写出类似的东西
template <>
void templatefunction<int>(){ // ...}
Run Code Online (Sandbox Code Playgroud)
或者我误解了这一点?