You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: