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

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 18 06:27:24 PDT 2024


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

So.. do I understand correctly that the new version simply doesn't work at all in C++03 since it tries using `noexcept` on line 39?

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


More information about the libcxx-commits mailing list