int main(){ int x = 10; const int&z = x; int &y = z; // why is this ill formed? }
为什么初始化非常量引用int到常量引用不正确?这背后的原因是什么?
c++ reference
c++ ×1
reference ×1