摘要:
1. 函数模板 普通函数 void Swap(int &, int &); 模板函数 template void Swap(T &, T &); 显示具体化,下面两个等价 template void Swap(int &, int &); template void Swap(int &, int &); 注意:具体化将覆盖模板函数,普通函数将覆盖具体化和模板函数。 ... 阅读全文
posted @ 2016-05-07 17:36
略加思索的河马
阅读(218)
评论(0)
推荐(0)
浙公网安备 33010602011771号