diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 2e010b0..7d12c18 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -16080,6 +16080,7 @@ Catch `throw` and `catch` of a built-in type. Maybe warn about `throw` and `catc ##### Reason +Throwing by value (not by pointer) and catching by reference prevents copying, especially slicing base subobjects. ##### Example; bad