[libcxx-commits] [libcxx] [libc++][NFC] Remove __remove_uncvref (PR #140531)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jul 2 13:03:04 PDT 2025
================
@@ -125,8 +125,8 @@ class boyer_moore_searcher {
template <class _RandomAccessIterator2>
_LIBCPP_HIDE_FROM_ABI pair<_RandomAccessIterator2, _RandomAccessIterator2>
operator()(_RandomAccessIterator2 __first, _RandomAccessIterator2 __last) const {
- static_assert(__is_same_uncvref<typename iterator_traits<_RandomAccessIterator1>::value_type,
- typename iterator_traits<_RandomAccessIterator2>::value_type>::value,
+ static_assert(is_same_v<typename iterator_traits<_RandomAccessIterator1>::value_type,
----------------
philnik777 wrote:
I'm quite certain just about everything would break if that's not the case, but I don't want to hold up this PR to find out whether this is technically a requirement, since I can't find anything that makes it a requirement currently.
https://github.com/llvm/llvm-project/pull/140531
More information about the libcxx-commits
mailing list