mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Added Bounds.* section index
This commit is contained in:
parent
e436db0a0e
commit
398d3a7400
|
@ -17666,6 +17666,14 @@ The following are under consideration but not yet in the rules below, and may be
|
|||
|
||||
An implementation of this profile shall recognize the following patterns in source code as non-conforming and issue a diagnostic.
|
||||
|
||||
Bounds safety profile summary:
|
||||
|
||||
* [Bounds.1: Don't use pointer arithmetic. Use `span` instead](#Pro-bounds-arithmetic)
|
||||
* [Bounds.2: Only index into arrays using constant expressions](#Pro-bounds-arrayindex)
|
||||
* [Bounds.3: No array-to-pointer decay](#Pro-bounds-decay)
|
||||
* [Bounds.4: Don't use standard library functions and types that are not bounds-checked](#Pro-bounds-stdlib)
|
||||
|
||||
|
||||
### <a name="Pro-bounds-arithmetic"></a>Bounds.1: Don't use pointer arithmetic. Use `span` instead.
|
||||
|
||||
##### Reason
|
||||
|
|
Loading…
Reference in New Issue
Block a user