首页 > 其他 > 详细

顶层const和底层const

时间:2016-03-20 00:12:23      阅读:314      评论:0      收藏:0      [点我收藏+]
As we’ve seen, a pointer is an object that can point to a different object. As a result,
we can talk independently about whether a pointer is const and whether the objects
to which it can point are const. We use the term top-level const to indicate that the
pointer itself is a const. When a pointer can point to a const object, we refer to
that const as a low-level const.
 
这是英文的介绍,我感觉清晰明了比那些遮遮掩掩的中文好多了。

顶层const和底层const

原文:http://www.cnblogs.com/a14907/p/5296599.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!