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 hhhhx 阅读(6905) 评论(0) 推荐(1) 编辑