From ca359848138be134a750bf749acb9b7a59a031a5 Mon Sep 17 00:00:00 2001 From: Zachary Henkel Date: Wed, 31 May 2017 09:50:10 -0500 Subject: [PATCH] Try to make the linter happy --- CppCoreGuidelines.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 94f20bb..0b90fd5 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -19400,9 +19400,11 @@ An implementation of this profile shall recognize the following patterns in sour Type safety profile summary: * Type.1: [Avoid casts](#Res-casts): + * Don't use `reinterpret_cast`; A strict version of [Avoid casts](#Res-casts) and [prefer named casts](#Res-casts-named). * Don't a `static_cast` for arithmetic types; A strict version of [Avoid casts](#Res-casts) and [prefer named casts](#Res-casts-named). * Don't use pointer unnecessary pointer casts; A strict version of [Avoid casts](#Res-casts) + * Type.2: Don't use `static_cast` to downcast: [Use `dynamic_cast` instead](#Rh-dynamic_cast). * Type.3: Don't use `const_cast` to cast away `const` (i.e., at all):