大神介绍的const转换的用法 使用const_cast去除const限定,以便函数能够接受这个实际参数。 const_cast 转换指针 大神介绍的const转换的用法 #include <iostream> using namespace std; void Printer