[libcxx-commits] [libcxx] [libc++] Use __is_nothrow_destructible (PR #95766)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 17 13:53:49 PDT 2024


================
@@ -24,7 +21,12 @@
 
 _LIBCPP_BEGIN_NAMESPACE_STD
 
-#if !defined(_LIBCPP_CXX03_LANG)
----------------
philnik777 wrote:

Yes. The non-C++03 version uses `noexcept()`, which isn't available in C++03.

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


More information about the libcxx-commits mailing list