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.

  • 将输出语句添加到构造函数、析构函数和复制构造函数,以查看在运行程序时命名返回值优化的效果。
目录 查词历史