From 5b372a99d875265b2410b5ebb0387f56261684a2 Mon Sep 17 00:00:00 2001 From: beinhaerter <34543625+beinhaerter@users.noreply.github.com> Date: Thu, 6 Sep 2018 20:44:06 +0200 Subject: [PATCH] Fixes Issue #1253: wrong link in SS-bounds to Res-simple (#1255) Replaced Res-simple with Res-ptr. --- CppCoreGuidelines.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index d7042fc..b65deb2 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -20127,11 +20127,11 @@ which cover other unsafe operations that allow bounds violations. Bounds safety profile summary: * Bounds.1: Don't use pointer arithmetic. Use `span` instead: -[Pass pointers to single objects (only)](#Ri-array) and [Keep pointer arithmetic simple](#Res-simple). +[Pass pointers to single objects (only)](#Ri-array) and [Keep pointer arithmetic simple](#Res-ptr). * Bounds.2: Only index into arrays using constant expressions: -[Pass pointers to single objects (only)](#Ri-array) and [Keep pointer arithmetic simple](#Res-simple). +[Pass pointers to single objects (only)](#Ri-array) and [Keep pointer arithmetic simple](#Res-ptr). * Bounds.3: No array-to-pointer decay: -[Pass pointers to single objects (only)](#Ri-array) and [Keep pointer arithmetic simple](#Res-simple). +[Pass pointers to single objects (only)](#Ri-array) and [Keep pointer arithmetic simple](#Res-ptr). * Bounds.4: Don't use standard-library functions and types that are not bounds-checked: [Use the standard library in a type-safe manner](#Rsl-bounds).