引用(reference)是某个对象的别名。 对常量的引用(reference to const)是一个引用,不能用来改变它所绑定对象的值。对常量的引用可以绑定常量对象,或者非常量对象,或者表达式的结果。
基于12个网页-相关网页
reference-to-const 常量引用
reference-to-non-const 非常量引用
reference to const
const的引用
以上为机器翻译结果,长、整句建议使用 人工翻译 。
You can declare tuples with the const qualifier, in which case the get call to access a particular element returns a reference to const.
可以使用const限定符来声明元组,在这种情况下,用于访问特定元素的get调用将返回对const的引用。
youdao
应用推荐
模块上移
模块下移
不移动