We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1cc6fe commit 7aac531Copy full SHA for 7aac531
docs/gsl-intro.md
@@ -59,7 +59,7 @@ dangerous_process_ints(&*remainder, v.end() - remainder); // correct but convolu
59
Instead, using `span` encapsulates the pointer and the length:
60
61
~~~cpp
62
-// BETTER: Read n contiguous ints starting at *p
+// BETTER: Read s.size() contiguous ints starting at s[0]
63
void process_ints(span<const int> s);
64
~~~
65
0 commit comments