call of overloaded 'max(char&, char&)' is ambiguous

最近準備着考試,其中遇到了一個題目,具體程序以下:ios #include <iostream> #include <conio.h> using namespace std; #define SAFEDELETE(p) if(p){delete p;p=NULL;} template<typename T> T max(T x, T y) { cout<<"This is a te
相關文章
相關標籤/搜索