Skip to content

Commit cfcd98c

Browse files
jensmaurerJohelEGP
andauthored
Apply suggestions from code review
Co-authored-by: Johel Ernesto Guerrero Peña <[email protected]>
1 parent 5329e82 commit cfcd98c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/algorithms.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3055,7 +3055,7 @@
30553055
}
30563056
};
30573057

3058-
template<class O, class T>
3058+
template<class O, class T>
30593059
struct out_value_result {
30603060
[[no_unique_address]] O out;
30613061
[[no_unique_address]] T value;
@@ -6096,7 +6096,7 @@
60966096
template<@\libconcept{permutable}@ I, @\libconcept{sentinel_for}@<I> S>
60976097
constexpr subrange<I> ranges::shift_right(I first, S last, iter_difference_t<I> n);
60986098
template<@\libconcept{forward_range}@ R>
6099-
requires permutable<iterator_t<R>>
6099+
requires @\libconcept{permutable}@<iterator_t<R>>
61006100
constexpr borrowed_subrange_t<R> ranges::shift_right(R&& r, range_difference_t<R> n);
61016101
\end{itemdecl}
61026102

@@ -6105,7 +6105,7 @@
61056105
\expects
61066106
\tcode{n >= 0} is \tcode{true}.
61076107
For the overloads in namespace \tcode{std},
6108-
the type of \tcode{*first} meets the \oldconcept{MoveAssignable} requirements
6108+
the type of \tcode{*first} meets the \oldconcept{MoveAssignable} requirements,
61096109
and \tcode{ForwardIterator} meets
61106110
the \oldconcept{BidirectionalIterator} requirements\iref{bidirectional.iterators} or
61116111
the \oldconcept{ValueSwap\-pable} requirements.
@@ -9176,7 +9176,7 @@
91769176
template<class O, class T>
91779177
using iota_result = out_value_result<O, T>;
91789178

9179-
template<@\libconcept{input_or_output_iterator}@ O, @\libconcept{sentinel_fo}@r<O> S, @\libconcept{weakly_incrementable}@ T>
9179+
template<@\libconcept{input_or_output_iterator}@ O, @\libconcept{sentinel_for}@<O> S, @\libconcept{weakly_incrementable}@ T>
91809180
requires @\libconcept{indirectly_writable}@<O, const T&>
91819181
constexpr iota_result<O, T> iota(O first, S last, T value);
91829182

0 commit comments

Comments
 (0)