您的位置:首页 > 其它

对象或函数调用函数的规律。

2014-06-20 13:41 148 查看
对象.成员函数

对象 成员函数 对/错

1、 const const 对

2、 const non-const 错

3、 non-const const 对

4、 not-const non-const 对

成员函数调用成员函数

成员函数 成员函数 对/错

5、 const const 对

6、 const non-const 错

7、 non-const const 对

8、 non-const non-const 对
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐