[libcxx-commits] [libcxx] [libc++] Use remove_pointer builtin as library traits (PR #91838)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Thu May 16 01:47:53 PDT 2024
philnik777 wrote:
I agree that it doesn't make a ton of sense to guard this on the version, since the GCC folks make it very clear that they don't intend to support the use of the builtin directly. But I also don't think that we should pessimize the Clang version here. We should simply resolve the `__remove_pointer_t` alias to either `remove_pointer<>::type` for GCC or `__remove_pointer()` for Clang.
https://github.com/llvm/llvm-project/pull/91838
More information about the libcxx-commits
mailing list