is_permutation range version missing
- Dominant language
- C++
- Stars
- 45
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Description
There is no boost::ranges::is_permutation
Passing two ranges to boost::algorithm::is_permutation yields this error. The first parameter is correctly matched and the second parameter is incorrectly interpreted as a ForwardIterator without any BOOST_CONCEPT checks:
https://godbolt.org/z/TCE8Xm
It is also surprising that an algorithm defined in boost::algorithm takes a range as a first parameter and an iterator as the second parameter
Shouldn't there be a ranges version that takes two ranges? upcoming c++20 std::ranges::is_permutation takes two ranges as params:
https://eel.is/c++draft/alg.is.permutation
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.