摘要:
const引用是指向const对象的引用。const int ival=1024;const int &refVal=ival; //ok: both reference and object are constint &ref2=ival; //error: non const reference to a const object 可以读取但不能修改refVal,因此,任何对... 阅读全文
posted @ 2010-01-25 13:37
妮妮啊...
阅读(349)
评论(0)
推荐(0)
浙公网安备 33010602011771号