C++中const的使用

const  T  ***  const   var_name

用英文的原话理解,从右向左读, * 为 pointer,每多一层加一次 to.

读作:

declare  var_name  as  a  const  pointer  to  a  pointer  to  a  pointer  to  a  const  T 

 

posted @ 2018-05-02 13:45  zeroisbug  阅读(179)  评论(0编辑  收藏  举报