[libcxx-commits] [libcxx] [libc++] [libc++abi] Initialize exception directly in make_exception_ptr if __cxa_init_primary_exception is available in ABI-library (PR #65534)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 25 02:13:59 PDT 2023


================
@@ -370,7 +370,6 @@ inline constexpr size_t hardware_constructive_interference_size = __GCC_CONSTRUC
 _LIBCPP_END_NAMESPACE_STD
 
 #if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
-#  include <exception>
----------------
itrofimow wrote:

It feels to me that this is one not-that-much-breaking change too many for one PR, but the workaround would be to split the header in public + private parts, where everything apart from these includes goes into private part.

What should be done here?

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


More information about the libcxx-commits mailing list