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 d59a4f3 commit 78b91e8Copy full SHA for 78b91e8
source/ranges.tex
@@ -6136,7 +6136,7 @@
6136
\begin{example}
6137
\begin{codeblock}
6138
vector<string> vs = {"the", "quick", "brown", "fox"};
6139
-for (char c : vs | join_with('-')) {
+for (char c : vs | views::join_with('-')) {
6140
cout << c;
6141
}
6142
// The above prints \tcode{the-quick-brown-fox}
@@ -7278,7 +7278,7 @@
7278
7279
7280
string str{"the quick brown fox"};
7281
-for (string_view word : split(str, ' ')) {
+for (string_view word : views::split(str, ' ')) {
7282
cout << word << '*';
7283
7284
// The above prints \tcode{the*quick*brown*fox*}
0 commit comments