From 6b587479f07a6e65163be492121fdbcffccbdb3d Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Thu, 19 Dec 2024 11:15:50 -0800 Subject: [PATCH] Update CppCoreGuidelines.md --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index a7b6826..031f5ed 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -21341,7 +21341,7 @@ Use `not_null` for C-style strings that cannot be `nullptr`. ??? Do we * `unique_ptr` // unique ownership: `std::unique_ptr` * `shared_ptr` // shared ownership: `std::shared_ptr` (a counted pointer) * `stack_array` // A stack-allocated array. The number of elements is determined at construction and fixed thereafter. The elements are mutable unless `T` is a `const` type. -* `dyn_array` // A container, nongrowing dynamically allocated array. The number of elements is determined at construction and fixed thereafter. +* `dyn_array` // A container, non-growing dynamically allocated array. The number of elements is determined at construction and fixed thereafter. The elements are mutable unless `T` is a `const` type. Basically a `span` that allocates and owns its elements. ## GSL.assert: Assertions