摘要: 由于历史原因,以前是用class,后来C++ Standard 出现后,引入了typename, 所以他们基本上是一样的,但也有区别。例1:// 定义一个返回参数中较大者的通用函数template const T... 阅读全文
posted @ 2018-08-02 18:58 Adano1 阅读(281) 评论(0) 推荐(0) 编辑