remove assigning a new object
This commit is contained in:
committed by
JamesFlare1212
parent
2f84e7ed34
commit
b8fde0d18e
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user