摘要:
Things to Rember1.Declaring something const helps compilers detect usage errors. const can be applied to objects atany scope, to function parameters and return types, and to member functions as a whole.将某些东西声明为const可帮助编译器侦测出错误用法。const可被施加于任何作用域内的对象、函数参数、函数返回类型、成员函数本体。2.Compilers enforce bitwise cons 阅读全文