C++ 四种cast 用法
摘要:int main(){ const int a = 10; // a++; int& b = const_cast<int &>(a); b++; cout << b << endl; // 11 int c = 10; int d = 11; const int* p = &c; int * pp
阅读全文
posted @ 2019-08-04 21:24
posted @ 2019-08-04 21:24