mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
commit
a4b400e9eb
|
@ -7818,7 +7818,7 @@ Using `std::unique_ptr` is the simplest way to avoid leaks. And it is free compa
|
|||
// ...
|
||||
}
|
||||
|
||||
If `leak == true` the object pointer to by `p2` is leaked and the object pointed to by `p1` is not.
|
||||
If `leak == true` the object pointed to by `p2` is leaked and the object pointed to by `p1` is not.
|
||||
|
||||
##### Enforcement
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user