From Jason Turner

[alg.is_permutation]

Diff to HTML by rtfpessoa

tmp/tmp0y951lsk/{from.md → to.md} RENAMED
@@ -33,12 +33,12 @@ returns `true` or `equal(first1, last1, begin, pred)` returns `true`;
33
  otherwise, returns `false`.
34
 
35
  *Complexity:* No applications of the corresponding predicate if
36
  `ForwardIterator1` and `ForwardIterator2` meet the requirements of
37
  random access iterators and `last1 - first1 != last2 - first2`.
38
- Otherwise, exactly `distance(first1, last1)` applications of the
39
- corresponding predicate if `equal(first1, last1, first2, last2)` would
40
- return `true` if `pred` was not given in the argument list or
41
  `equal(first1, last1, first2, last2, pred)` would return `true` if pred
42
  was given in the argument list; otherwise, at worst 𝑂(N^2), where N has
43
- the value `distance(first1, last1)`.
44
 
 
33
  otherwise, returns `false`.
34
 
35
  *Complexity:* No applications of the corresponding predicate if
36
  `ForwardIterator1` and `ForwardIterator2` meet the requirements of
37
  random access iterators and `last1 - first1 != last2 - first2`.
38
+ Otherwise, exactly `last1 - first1` applications of the corresponding
39
+ predicate if `equal(first1, last1, first2, last2)` would return `true`
40
+ if `pred` was not given in the argument list or
41
  `equal(first1, last1, first2, last2, pred)` would return `true` if pred
42
  was given in the argument list; otherwise, at worst 𝑂(N^2), where N has
43
+ the value `last1 - first1`.
44