[libcxx-commits] [PATCH] D101638: [libc++] std::to_address mustn't depend on P::element_type.
Arthur O'Dwyer via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon May 3 08:28:25 PDT 2021
Quuxplusone planned changes to this revision.
Quuxplusone added a comment.
I'm stumped as to how to make my new `to_address` tests pass with both UBSan and `_LIBCPP_DEBUG=1` (individually). I can get one or the other via different techniques, but haven't hit on the technique that will make them both (individually) work.
Actually I think I could do it with a partial specialization of `pointer_traits<__wrap_iter<T>>`; but I really resist that because that's just awful.
I would be willing to commit just the include/ diff, without the new tests, if that is ever needed in order to unblock @zoecarver or anyone. Just ping here, I guess.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101638/new/
https://reviews.llvm.org/D101638
More information about the libcxx-commits
mailing list