浅实例化(Shallow Instantiation)
模板出错时通常伴随着冗长的诊断信息,真正的问题一般出现在一长串实例化之后
template<typename T>
void f1(T& p)
{
*p = 0;
2021-10-26