标签:int ++ ted point print equal get amp tty
int x = 5; int& y = x; int* xp = &x; int* yp = &y;
xp is equal to yp.
也就是说,直接对reference取地址就可以了。
c++ get the pointer from the reference
标签:int ++ ted point print equal get amp tty
原文地址:http://www.cnblogs.com/hustdc/p/6542233.html