原书出处
现代C++语言核心特性解析 2021
06 第6章 右值引用(C++11 C++17 C++20) 6.5 移动语义
BigMemoryPool& operator=(BigMemoryPool&& other) { std::cout << "move(operator=) big memory pool." << std::endl; if (pool_ != nullptr) { delete[] pool_; } pool_ = other.pool_; other.pool_ = nullptr; return *this;
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/现代C++语言核心特性解析 2021/_epub-src/OEBPS/Text/chapter006.html
EPUB SHA-256:97fdd59c70da49ebf568f177fdbdab8c58dfdb80f4ea972754c54ec97dda9ba5