摘要:
1.常量引用 int a=0; int const&b=a;//将const放在类型后面 b=6; #编译报错: error: assignment of read-only reference 'b' int a=0; const int &b=a;//将const放在类型前面 b=6; #编译报 阅读全文
posted @ 2020-12-28 21:47
lypbendlf
阅读(337)
评论(0)
推荐(0)
浙公网安备 33010602011771号