This commit is contained in:
hsutter 2019-04-04 11:28:59 -07:00
parent 9275e7da09
commit 35cfe0c984

View File

@ -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`.