2015年8月31日

STL_函数模板

摘要: #include #include using namespace std;#define MAX(T) \ T max_##T (T x, T y) {\ return x > y ? x : y; \ }//在预处理的时候生成下面3个具体 类型的函数MAX(int) // int max_in... 阅读全文

posted @ 2015-08-31 23:57 enjoyzhao 阅读(342) 评论(0) 推荐(0)

导航