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

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 24 12:11:08 PST 2023


philnik777 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.

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


More information about the libcxx-commits mailing list