• 输出语句添加构造函数、析构函数复制构造函数,查看运行程序命名返回优化效果

    Add output statements to the constructor, destructor and copy constructor to see the effect of the Named Return Value optimization when you run the program.

    youdao

  • 调用函数使用返回作为语言表达式一部分,只需要命名附加一个使用圆括号括起参数列表

    To call a function and use its return value as part of a larger expression, simply name it and append a parenthesized argument list.

    youdao

  • 多个返回,有良好代码文档会更好——Go允许返回值命名参数一样。

    With multiple return values, it is good to have the code document which is which - go allows you to give the return values names, just like parameters.

    youdao

  • 多个返回,有良好代码文档会更好——Go允许返回值命名参数一样。

    With multiple return values, it is good to have the code document which is which - go allows you to give the return values names, just like parameters.

    youdao

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

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

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