Chilledheart wrote: libc++ is well-tested with clang both manual tests and CI. So it is sufficient to exclude other compilers to use their remove_pointer builtin @frederick-vs-ja . https://github.com/llvm/llvm-project/pull/91838