From ef78ef4d88ed8fb7b0f946e578a0e1c6242f296a Mon Sep 17 00:00:00 2001 From: Taewon Park Date: Fri, 27 Sep 2019 23:45:07 +0900 Subject: [PATCH] Fix wrong markdown links in E.15 (#1522) Fixed markdown links in E.15 which direct readers to Github repository, not currently viewing page --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 7652c3d..29e9435 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -15657,7 +15657,7 @@ Most handlers do not modify their exception and in general we [recommend use of ##### Note -To rethrow a caught exception use `throw;` not `throw e;`. Using `throw e;` would throw a new copy of `e` (sliced to the static type `std::exception`) instead of rethrowing the original exception of type `std::runtime_error`. (But keep [Don't try to catch every exception in every function](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Re-not-always) and [Minimize the use of explicit `try`/`catch`](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Re-catch) in mind.) +To rethrow a caught exception use `throw;` not `throw e;`. Using `throw e;` would throw a new copy of `e` (sliced to the static type `std::exception`) instead of rethrowing the original exception of type `std::runtime_error`. (But keep [Don't try to catch every exception in every function](#Re-not-always) and [Minimize the use of explicit `try`/`catch`](#Re-catch) in mind.) ##### Enforcement