From c2f54b5ed1cd72523ccdf454e013e2b7df177955 Mon Sep 17 00:00:00 2001 From: Andrew Pardoe Date: Mon, 11 Jul 2016 13:36:03 -0700 Subject: [PATCH] Better comment for implicit conversion example --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index b8c84f7..97a616c 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -15422,7 +15422,7 @@ Pointers should not be used as arrays. `span` is a bounds-checked, safe alternat span av = a; g(av.data(), av.length()); // OK, if you have no choice - g1(a); // OK -- no decay here, instead use implicit span ctor + g1(a); // OK -- no decay here, instead use implicit span ctor from n-dimensions static array } ##### Enforcement