非常量左值引用不能绑定到常量 // int& ref3 = 30; // 错误:非常量左值引用不能绑定到右值 const int& cref1 = x; // OK: 常量左值引用可以绑定到普通变量 const int& cref2 = cx; // OK: 常量左值引用可以绑定到常量 const int& cref3 = 30; // OK: 常量左值引用可以绑定到右值 return 0; ...