mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fix typo in "Using the GSL: A Tutorial and FAQ" (#1828)
Duplicated `is` is redundant.
This commit is contained in:
parent
375d452495
commit
c4cdbe369e
|
@ -112,7 +112,7 @@ void dangerous_process_ints(int* p, size_t n) {
|
|||
}
|
||||
~~~
|
||||
|
||||
A `span` supports range-`for` -- note this is zero-overhead and does not need to perform any range check, because the range-`for` loop is is known by construction not to exceed the range's bounds:
|
||||
A `span` supports range-`for` -- note this is zero-overhead and does not need to perform any range check, because the range-`for` loop is known by construction not to exceed the range's bounds:
|
||||
|
||||
~~~cpp
|
||||
void process_ints(span<int> s) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user