Skip to content

Commit 78b91e8

Browse files
authored
[range.join.with.overview,range.split.overview] use qualified name in examples (#5683)
1 parent d59a4f3 commit 78b91e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/ranges.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6136,7 +6136,7 @@
61366136
\begin{example}
61376137
\begin{codeblock}
61386138
vector<string> vs = {"the", "quick", "brown", "fox"};
6139-
for (char c : vs | join_with('-')) {
6139+
for (char c : vs | views::join_with('-')) {
61406140
cout << c;
61416141
}
61426142
// The above prints \tcode{the-quick-brown-fox}
@@ -7278,7 +7278,7 @@
72787278
\begin{example}
72797279
\begin{codeblock}
72807280
string str{"the quick brown fox"};
7281-
for (string_view word : split(str, ' ')) {
7281+
for (string_view word : views::split(str, ' ')) {
72827282
cout << word << '*';
72837283
}
72847284
// The above prints \tcode{the*quick*brown*fox*}

0 commit comments

Comments
 (0)