摘要: template<typename T> inline T const& max(T const& a,T const& b) max(4, 7);//ok max(4 , 7.1);//error 解决办法: 1. max(static_cast<double>(4), 7.1); 2.max<d 阅读全文
posted @ 2020-02-02 04:55 MoonXu 阅读(86) 评论(0) 推荐(0)