非常量引用不能绑定在临时变量上

int j = 0;
int &i = j++; //出错

临时变量j++被引用i所绑定,出错。

原文地址:https://www.cnblogs.com/Key-Ky/p/4189668.html