引用 引用的本质是指针常量 int a = 10; int& b = a; = int * const b = &a; 常量引用 const int &ref = 10; const:限定只读,不可以修改,防止误操作