[libcxx-commits] [libcxx] feat libcxx: avoid defining std::nullptr_t in terms of ::nullptr_t (PR #73442)

Anton Zhilin via libcxx-commits libcxx-commits at lists.llvm.org
Sun Nov 26 04:34:55 PST 2023


Anton3 wrote:

I see, my explanation was incorrect. So libc++'s `stddef.h` does define `nullptr_t`, but glibc's `stddef.h` does not (at least on my machine). It seems like CLion gets confused about the priority of `stddef.h` includes. I'll fix the description.

While it's not a bug in libcxx itself, it would fix the issues with CLion that I and my colleagues have. It could also be considered a preemptive measure in case the Standard committee takes action on LWG3484.

https://github.com/llvm/llvm-project/pull/73442


More information about the libcxx-commits mailing list