[libcxx-commits] [libcxx] [libc++] Inline fast path for`exception_ptr` copy constructor & destructor (PR #165909)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 6 07:21:46 PST 2025


================
@@ -11,22 +11,32 @@
 
 namespace std {
 
-exception_ptr::~exception_ptr() noexcept {
+void exception_ptr::__increment_refcount([[__gnu__::__nonnull__]] _LIBCPP_NOESCAPE void* __ptr) noexcept {
+  #warning exception_ptr not yet implemented
----------------
philnik777 wrote:

I feel like these `#warning`s are kinda stupid. They'll just repeat a couple times without any good reason.

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


More information about the libcxx-commits mailing list