关于const成员函数

来源:互联网 发布:sql 左联右联 编辑:程序博客网 时间:2024/04/30 08:26

const对象只能访问const成员函数,而非const对象可以访问任意的成员函数,包括const成员函数.

 

原创粉丝点击