make it clear how to use const in C++

时间:2014-05-06 00:38:25   收藏:0   阅读:361

1.first of all,take a lookup on the left side of keyword const.If there is something(type or pointer),then apply const feature to it.

2.nothing found on left side?OK,apply const feature to whatever you find on the right side.

make it clear how to use const in C++,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!