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 3a97ba6 commit 668c82aCopy full SHA for 668c82a
source/ranges.tex
@@ -1876,7 +1876,7 @@
1876
auto vec = f();
1877
auto result2 = ranges::find(vec, 42); // \#2
1878
static_assert(@\libconcept{same_as}@<decltype(result2), vector<int>::iterator>);
1879
-auto result3 = ranges::find(subrange{vec}, 42); // \#3
+auto result3 = ranges::find(ranges::subrange{vec}, 42); // \#3
1880
static_assert(@\libconcept{same_as}@<decltype(result3), vector<int>::iterator>);
1881
\end{codeblock}
1882
The call to \tcode{ranges::find} at \#1 returns \tcode{ranges::dangling}
0 commit comments