摘要:
## 返回值优化RVO 在cppreference中,是这么介绍RVO的 `In a return statement, when the operand is the name of a non-volatile object with automatic storage duration, wh 阅读全文
摘要:
在写一个关于图形的系统中,有类似以下的代码 class Base { int y; protected: Base() = default; }; class A: public Base { int x; public: A():x(100) {} }; class B: protected Ba 阅读全文