static_cast 没有运行时类型检查,出现错误时会返回原指针,好像没有错一样,所以不 ... double dbl; // int to char ch = static_cast<char>(i); // float to double ...
確定! 回上一頁