go top

reference-to-const

网络释义

  常量引用

在任何时候只要见到常量引用(reference-to-const)参数,就存在建立临时对象而绑定在参数上的可能性。在任何时候只要见到函数返回对象,就会有一个临时对象被建立(以后被释放)。

基于10个网页-相关网页

短语

reference to const 对常量的引用

reference-to-non-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

  • Your normal habit when passing an argument to a function should be to pass by const reference.

    用常量引用给一个函数传递参数,是一种好的习惯。

    youdao

  • Your normal habit when passing an argument to a function should be to pass by const reference.

    当给函数传递参数时,你要养成的良好习惯是传递常量引用。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定