mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fix grammar.
This commit is contained in:
parent
058e1bfb41
commit
11d28dfeff
|
@ -1368,7 +1368,7 @@ Note: `length()` is, of course, `std::strlen()` in disguise.
|
||||||
<a name="Ri-array"></a>
|
<a name="Ri-array"></a>
|
||||||
### I.13: Do not pass an array as a single pointer
|
### I.13: Do not pass an array as a single pointer
|
||||||
|
|
||||||
**Reason**: (pointer,size)-style interfaces are error-prone. Also, plain pointer (to array) must relies on some convention to allow the callee to determine the size.
|
**Reason**: (pointer,size)-style interfaces are error-prone. Also, a plain pointer (to array) must rely on some convention to allow the callee to determine the size.
|
||||||
|
|
||||||
**Example**: Consider
|
**Example**: Consider
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user