mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
F.20: Improve language just a bit (#1768)
This commit is contained in:
parent
402565d74e
commit
652b71b2c0
|
@ -3087,7 +3087,7 @@ Such older advice is now obsolete; it does not add value, and it interferes with
|
|||
}
|
||||
|
||||
The argument for adding `const` to a return value is that it prevents (very rare) accidental access to a temporary.
|
||||
The argument against is prevents (very frequent) use of move semantics.
|
||||
The argument against is that it prevents (very frequent) use of move semantics.
|
||||
|
||||
##### Exceptions
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user