未验证 提交 c4cdbe36 编写于 作者: C char-lie 提交者: GitHub

Fix typo in "Using the GSL: A Tutorial and FAQ" (#1828)

Duplicated `is` is redundant.
上级 375d4524
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册