From Jason Turner

[alg.lex.comparison]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpb0yxuocq/{from.md → to.md} +14 -0
tmp/tmpb0yxuocq/{from.md → to.md} RENAMED
@@ -36,10 +36,24 @@ template<input_range R1, input_range R2, class Proj1 = identity,
36
  indirect_strict_weak_order<projected<iterator_t<R1>, Proj1>,
37
  projected<iterator_t<R2>, Proj2>> Comp = ranges::less>
38
  constexpr bool
39
  ranges::lexicographical_compare(R1&& r1, R2&& r2, Comp comp = {},
40
  Proj1 proj1 = {}, Proj2 proj2 = {});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  ```
42
 
43
  *Returns:* `true` if and only if the sequence of elements defined by the
44
  range \[`first1`, `last1`) is lexicographically less than the sequence
45
  of elements defined by the range \[`first2`, `last2`).
 
36
  indirect_strict_weak_order<projected<iterator_t<R1>, Proj1>,
37
  projected<iterator_t<R2>, Proj2>> Comp = ranges::less>
38
  constexpr bool
39
  ranges::lexicographical_compare(R1&& r1, R2&& r2, Comp comp = {},
40
  Proj1 proj1 = {}, Proj2 proj2 = {});
41
+
42
+ template<execution-policy Ep, random_access_iterator I1, sized_sentinel_for<I1> S1,
43
+ random_access_iterator I2, sized_sentinel_for<I2> S2,
44
+ class Proj1 = identity, class Proj2 = identity,
45
+ indirect_strict_weak_order<projected<I1, Proj1>,
46
+ projected<I2, Proj2>> Comp = ranges::less>
47
+ bool ranges::lexicographical_compare(Ep&& exec, I1 first1, S1 last1, I2 first2, S2 last2,
48
+ Comp comp = {}, Proj1 proj1 = {}, Proj2 proj2 = {});
49
+ template<execution-policy Ep, sized-random-access-range R1, sized-random-access-range R2,
50
+ class Proj1 = identity, class Proj2 = identity,
51
+ indirect_strict_weak_order<projected<iterator_t<R1>, Proj1>,
52
+ projected<iterator_t<R2>, Proj2>> Comp = ranges::less>
53
+ bool ranges::lexicographical_compare(Ep&& exec, R1&& r1, R2&& r2, Comp comp = {},
54
+ Proj1 proj1 = {}, Proj2 proj2 = {});
55
  ```
56
 
57
  *Returns:* `true` if and only if the sequence of elements defined by the
58
  range \[`first1`, `last1`) is lexicographically less than the sequence
59
  of elements defined by the range \[`first2`, `last2`).