摘要: 1. 临时变量的拷贝 使用g++编译,不使用优化:g++ -std=c++11 -fno-elide-constructors test.cpp -o main 输出为: Construct: 1 Resource from GetTemp: 0x25d5c20 Move constructor: 阅读全文
posted @ 2019-08-20 16:52 c++11 阅读(385) 评论(0) 推荐(0) 编辑