[libcxx-commits] [libcxx] [libc++][NFC] Remove `pointer_traits<__wrap_iter>` partial specialization (PR #178864)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Mar 7 00:03:19 PST 2026
frederick-vs-ja wrote:
> Doesn't this PR simply revert that commit without addressing the underlying issue it was resolving?
The underlying issue was addressed in another way by commit b5270ba20dc3d84df9d880be11d57667f04c6c28.
Previously, `__wrap_iter::operator->` performed runtime check in debug mode, so it was necessary to provide `pointer_traits` specialization to make `__wrap_iter` model `contiguous_iterator`. The runtime check was removed since then, so the `pointer_traits` partial specialization is unnecessary now.
https://github.com/llvm/llvm-project/pull/178864
More information about the libcxx-commits
mailing list