Skip to content

Commit aec46d1

Browse files
authored
[move.sentinel] Remove extraneous "std" qualification in example (#5792)
1 parent 4ed7fcf commit aec46d1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/iterators.tex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5253,13 +5253,12 @@
52535253
\begin{example}
52545254
A \tcode{move_if} algorithm is easily implemented with
52555255
\tcode{copy_if} using \tcode{move_iterator} and \tcode{move_sentinel}:
5256-
52575256
\begin{codeblock}
52585257
template<@\libconcept{input_iterator}@ I, @\libconcept{sentinel_for}@<I> S, @\libconcept{weakly_incrementable}@ O,
52595258
@\libconcept{indirect_unary_predicate}@<I> Pred>
52605259
requires @\libconcept{indirectly_movable}@<I, O>
52615260
void move_if(I first, S last, O out, Pred pred) {
5262-
std::ranges::copy_if(move_iterator<I>{first}, move_sentinel<S>{last}, out, pred);
5261+
ranges::copy_if(move_iterator<I>{first}, move_sentinel<S>{last}, out, pred);
52635262
}
52645263
\end{codeblock}
52655264
\end{example}

0 commit comments

Comments
 (0)