Skip to content

Commit 3cc3926

Browse files
authored
[algorithm.syn,alg.swap] Add missing \libconcept for input_range (#5554)
1 parent e4710ac commit 3cc3926

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/algorithms.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@
13181318
requires @\libconcept{indirectly_swappable}@<I1, I2>
13191319
constexpr swap_ranges_result<I1, I2>
13201320
swap_ranges(I1 first1, S1 last1, I2 first2, S2 last2);
1321-
template<@\libconcept{input_range}@ R1, input_range R2>
1321+
template<@\libconcept{input_range}@ R1, @\libconcept{input_range}@ R2>
13221322
requires @\libconcept{indirectly_swappable}@<iterator_t<R1>, iterator_t<R2>>
13231323
constexpr swap_ranges_result<borrowed_iterator_t<R1>, borrowed_iterator_t<R2>>
13241324
swap_ranges(R1&& r1, R2&& r2);
@@ -4808,7 +4808,7 @@
48084808
requires @\libconcept{indirectly_swappable}@<I1, I2>
48094809
constexpr ranges::swap_ranges_result<I1, I2>
48104810
ranges::swap_ranges(I1 first1, S1 last1, I2 first2, S2 last2);
4811-
template<@\libconcept{input_range}@ R1, input_range R2>
4811+
template<@\libconcept{input_range}@ R1, @\libconcept{input_range}@ R2>
48124812
requires @\libconcept{indirectly_swappable}@<iterator_t<R1>, iterator_t<R2>>
48134813
constexpr ranges::swap_ranges_result<borrowed_iterator_t<R1>, borrowed_iterator_t<R2>>
48144814
ranges::swap_ranges(R1&& r1, R2&& r2);

0 commit comments

Comments
 (0)