在函数后面加 const

  1. 在函数后面加 const 的意思是:  
  2. 如果一个类声明了一个常量对象,这个对象只能使用后边带 const 这个的方法.  
原文地址:https://www.cnblogs.com/fag888/p/5789142.html