函数模板示例(三) 模板函数的特化与重载

function3.h中的代码: #ifndef FUNCTION3_H #define FUNCTION3_H #include <string> #include <cstring> #include <iostream> template <typename T> T myMax(const T p1, const T p2) { std::cout << "template d
相关文章
相关标签/搜索