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
make it clear how to use const in C++
原文地址:http://www.cnblogs.com/zhouyoulie/p/3693080.html