mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +03:00
Addresses #568
This commit is contained in:
@@ -2819,7 +2819,7 @@ The argument against is prevents (very frequent) use of move semantics.
|
|||||||
##### Reason
|
##### Reason
|
||||||
|
|
||||||
A return value is self-documenting as an "output-only" value.
|
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.
|
possibly with the extra convenience of `tie` at the call site.
|
||||||
|
|
||||||
##### Example
|
##### Example
|
||||||
|
|||||||
Reference in New Issue
Block a user