mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Closes #1451
This commit is contained in:
parent
5fdfb20b76
commit
122cda0bd2
|
@ -5892,7 +5892,7 @@ After a copy `x` and `y` can be independent objects (value semantics, the way no
|
|||
|
||||
##### Note
|
||||
|
||||
Prefer copy semantics unless you are building a "smart pointer". Value semantics is the simplest to reason about and what the standard-library facilities expect.
|
||||
Prefer value semantics unless you are building a "smart pointer". Value semantics is the simplest to reason about and what the standard-library facilities expect.
|
||||
|
||||
##### Enforcement
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user