remove assigning a new object

This commit is contained in:
Jidong Xiao
2025-04-18 03:05:37 -04:00
committed by JamesFlare1212
parent 2f84e7ed34
commit b8fde0d18e

View File

@@ -260,7 +260,7 @@ int main() {
#### Member Functions and Operators of std::shared_ptr
- reset() Releases ownership of the managed object. Can also assign a new object.
- reset() Releases ownership of the managed object.
- use_count() Returns the number of shared_ptrs sharing ownership of the object.