摘要:
https://www.cnblogs.com/msymm/p/9750787.html 简单来说,一个函数的输入参数类型不定,为了保证一个函数可对多个类型参数使用,改一个模板 1要实现声明 2使用 <>代替() template <class numtype> //声明一个模板,虚拟类型名为num 阅读全文
posted @ 2020-06-24 17:51
MKT-porter
阅读(146)
评论(0)
推荐(0)