pull/1402/head
hsutter 7 years ago
parent 9275e7da09
commit 35cfe0c984

@ -3150,7 +3150,7 @@ For example:
// to people who know measure()
auto [x, y] = measure(obj4); // don't; it's likely to be confusing
The overly-generic `pair` and `tuple` should be used only when the value returned represents to independent entities rather than an abstraction.
The overly-generic `pair` and `tuple` should be used only when the value returned represents independent entities rather than an abstraction.
Another example, use a specific type along the lines of `variant<T, error_code>`, rather than using the generic `tuple`.

Loading…
Cancel
Save