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 c0e3ca4 commit 07b4ab5Copy full SHA for 07b4ab5
talk/morelanguage/ranges.tex
@@ -41,7 +41,7 @@
41
for (auto a : results) { ... } // 0, 4, 16
42
\end{cppcode*}
43
}
44
- \end{exampleblock}
+ \end{exampleblock}
45
\end{frame}
46
47
\begin{frame}[fragile]
@@ -73,12 +73,12 @@
73
{ \scriptsize
74
\begin{cppcode*}{gobble=2}
75
// print first 20 prime numbers above 1000000
76
- for (int i: std::views::iota(1000000) | std::views::filter(odd)
77
- | std::views::filter(isPrime)
+ for (int i: std::views::iota(1000000) | std::views::filter(odd)
+ | std::views::filter(isPrime)
78
| std::views::take(20)) {
79
- std::cout << i << " ";
+ std::cout << i << " ";
80
81
82
83
84
0 commit comments