@@ -250,7 +250,7 @@ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 bool __is_permutation(
250250template  <class  _ForwardIterator1 , class  _ForwardIterator2 , class  _BinaryPredicate >
251251[[__nodiscard__]] _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 bool  is_permutation (
252252    _ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _BinaryPredicate __pred) {
253-   static_assert (__is_callable <_BinaryPredicate&, decltype (*__first1), decltype (*__first2)>::value ,
253+   static_assert (__is_callable_v <_BinaryPredicate&, decltype (*__first1), decltype (*__first2)>,
254254                " The comparator has to be callable"  );
255255
256256  return  std::__is_permutation<_ClassicAlgPolicy>(std::move (__first1), std::move (__last1), std::move (__first2), __pred);
@@ -287,7 +287,7 @@ template <class _ForwardIterator1, class _ForwardIterator2, class _BinaryPredica
287287    _ForwardIterator2 __first2,
288288    _ForwardIterator2 __last2,
289289    _BinaryPredicate __pred) {
290-   static_assert (__is_callable <_BinaryPredicate&, decltype (*__first1), decltype (*__first2)>::value ,
290+   static_assert (__is_callable_v <_BinaryPredicate&, decltype (*__first1), decltype (*__first2)>,
291291                " The comparator has to be callable"  );
292292
293293  return  std::__is_permutation<_ClassicAlgPolicy>(
0 commit comments