Skip to content

Commit 6ccb959

Browse files
hewillktkoeppe
authored andcommitted
[range.zip.overview] Use tuple in example, not pair
1 parent 356fb7f commit 6ccb959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/ranges.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9379,7 +9379,7 @@
93799379
list l = {'a', 'b', 'c'};
93809380

93819381
auto z = views::zip(v, l);
9382-
range_reference_t<decltype(z)> f = z.front(); // \tcode{f} is a \tcode{pair<int\&, char\&>}
9382+
range_reference_t<decltype(z)> f = z.front(); // \tcode{f} is a \tcode{tuple<int\&, char\&>}
93839383
// that refers to the first element of \tcode{v} and \tcode{l}
93849384

93859385
for (auto&& [x, y] : z) {

0 commit comments

Comments
 (0)