From d9d985a9f695efdf4cb3ba41877d6633a4692b9d Mon Sep 17 00:00:00 2001 From: William So Date: Wed, 6 Apr 2022 04:17:56 +0800 Subject: [PATCH] [C.148] Fix 1 anchor link (#1904) --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 4daba6b..14f490f 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -8092,7 +8092,7 @@ Casting to a reference expresses that you intend to end up with a valid object, The `dynamic_cast` conversion allows to test whether a pointer is pointing at a polymorphic object that has a given class in its hierarchy. Since failure to find the class merely returns a null value, it can be tested during run time. This allows writing code that can choose alternative paths depending on the results. -Contrast with [C.147](#Rh-ptr-cast), where failure is an error, and should not be used for conditional execution. +Contrast with [C.147](#Rh-ref-cast), where failure is an error, and should not be used for conditional execution. ##### Example