[libcxx-commits] [libcxx] [libc++] fix std::make_exception_ptr interaction with ObjC (PR #135386)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 13 05:29:44 PDT 2025


itrofimow wrote:

Hi! Yes, sorry, just got back to office

I was thinking, wouldn't just `std::is_pointer_v<_Ep>` condition be better it terms of readability?
After all, this is just an optimization, and given that people very seldom create exception pointers from pointers, it shouldn't be that much of a performance hit, and the less odd conditions we have here the better

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


More information about the libcxx-commits mailing list