mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Remove superfluous word in ES.42 enforcement (#1347)
This commit is contained in:
parent
882e9539fa
commit
d6a6e7092a
|
@ -11418,7 +11418,7 @@ If you want to pass an array, say so:
|
|||
##### Enforcement
|
||||
|
||||
* Flag any arithmetic operation on an expression of pointer type that results in a value of pointer type.
|
||||
* Flag any indexing expression on an expression or variable of array type (either static array or `std::array`) where the indexer is not a compile-time constant expression with a value between `0` or and the upper bound of the array.
|
||||
* Flag any indexing expression on an expression or variable of array type (either static array or `std::array`) where the indexer is not a compile-time constant expression with a value between `0` and the upper bound of the array.
|
||||
* Flag any expression that would rely on implicit conversion of an array type to a pointer type.
|
||||
|
||||
This rule is part of the [bounds-safety profile](#SS-bounds).
|
||||
|
|
Loading…
Reference in New Issue
Block a user