Skip to content

Commit

Permalink
Update CppCoreGuidelines.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielDosReis committed Dec 19, 2024
1 parent 21953e5 commit 6b58747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CppCoreGuidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -21341,7 +21341,7 @@ Use `not_null<zstring>` for C-style strings that cannot be `nullptr`. ??? Do we
* `unique_ptr<T>` // unique ownership: `std::unique_ptr<T>`
* `shared_ptr<T>` // shared ownership: `std::shared_ptr<T>` (a counted pointer)
* `stack_array<T>` // 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<T>` // A container, nongrowing dynamically allocated array. The number of elements is determined at construction and fixed thereafter.
* `dyn_array<T>` // 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.

## <a name="SS-assertions"></a>GSL.assert: Assertions
Expand Down

0 comments on commit 6b58747

Please sign in to comment.