diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 9aa5ad33a..13ca559b0 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -3333,6 +3333,7 @@ For example: The overly generic `pair` and `tuple` should be used only when the value returned represents independent entities rather than an abstraction. Another option is to use `optional` or `expected`, rather than `pair` or `tuple`. +When used appropriately these types convey more information about what the members mean than `pair` or `pair` do. ##### Note