摘要: int &a = 1;//报错,引用需要一个合法的内存空间 const int & a = 1;//正确,类似于int temp = 1; const int & a = temp; 阅读全文
posted @ 2021-06-15 17:49 小时候挺菜 阅读(267) 评论(0) 推荐(0) 编辑