码迷,mamicode.com
首页 > 其他好文 > 详细

顶层const和底层const

时间:2016-03-20 00:12:46      阅读:168      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!