首页 > 技术文章 > const函数返回自身的引用也是常量引用
confusion 2018-07-14 18:39 原文
const函数返回自身的引用也是const
解决:根据对象是否为consr重载