摘要: 下面的两个函数构成重载吗?void M(int a){} //(1)void M(const int a){} //(2)下面的呢?void M(int& a){} //(3)void M(const int& a){} //(4)const在函数中的含义是该值在此函数范围内“无法修改”。站在调用者... 阅读全文
posted @ 2013-09-11 21:46 cacard 阅读(1271) 评论(0) 推荐(1) 编辑