From 5bb3b3f732fcc5db114138a9fc02a11e2ffc4d8c Mon Sep 17 00:00:00 2001 From: Neil MacIntosh Date: Wed, 4 Nov 2015 14:17:24 -0800 Subject: [PATCH] Updated description of *_view to reference span. --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index d05c5e1..b2d0cdb 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -12717,7 +12717,7 @@ If something is not supposed to be `nullptr`, say so: * `string_span` // `span` * `cstring_span` // `span` -A `*_view` refers to zero or more mutable `T`s unless `T` is a `const` type. +A `span` refers to zero or more mutable `T`s unless `T` is a `const` type. "Pointer arithmetic" is best done within `span`s. A `char*` that points to something that is not a C-style string (e.g., a pointer into an input buffer) should be represented by a `span`.