mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Addresses #568
This commit is contained in:
parent
323912e609
commit
0ff543fe19
|
@ -2819,7 +2819,7 @@ The argument against is prevents (very frequent) use of move semantics.
|
|||
##### Reason
|
||||
|
||||
A return value is self-documenting as an "output-only" value.
|
||||
Note that C++ does have multiple return values, by convention of using a `tuple`,
|
||||
Note that C++ does have multiple return values, by convention of using a `tuple` (including `pair`),
|
||||
possibly with the extra convenience of `tie` at the call site.
|
||||
|
||||
##### Example
|
||||
|
|
Loading…
Reference in New Issue
Block a user