[libcxx-commits] [libcxx] [libc++] Use __is_pointer_in_range for char_traits checks (PR #72643)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 27 08:33:49 PST 2023


bgra8 wrote:

> If you mean the `// Checking this for unrelated pointers is technically UB, but no compiler optimizes based on it (currently).` - that's also the case without this change, it's just not explicitly documented.

Agree with that. We're investigating what may cause this.

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


More information about the libcxx-commits mailing list