Files
modern-cpp-tutorial/book
Tengfei Niu 1e78a01ac0 book: fix incorrect return value description of std::weak_ptr expired (#144)
* Fix error

资源尚存在时,`std::weak_ptr` 的 `expired()` 方法返回 `false`, 否则返回 `true`。

* book: fix error

Fix error, while the resource of `std::shared_ptr` exists, `std::weak_ptr`'s `expired()` method returns `false`, otherwise it returns `true`.
2020-11-17 08:34:05 +01:00
..