[libcxx-commits] [libcxx] [libc++] Add move constructor & assignment to `exception_ptr` (PR #164281)
Adrian Vogelsgesang via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 31 10:00:59 PDT 2025
================
@@ -18,6 +18,7 @@ export namespace std {
using std::rethrow_exception;
using std::rethrow_if_nested;
using std::set_terminate;
+ using std::swap;
----------------
vogelsgesang wrote:
I had to add `std::swap` to this list since otherwise
the test cases `libcxx/module_std.gen.py/module_std.sh.cpp` and `libcxx/module_std_compat.gen.py/module_std_compat.sh.cpp` failed.
I don't quite understand the modules build, though. Is this correct?
(Note that we now have both a `std::swap` and a `std::_LIBCPP_ABI_NAMESPACE::swap`. Not sure if that matters. I hope not 🤞 )
https://github.com/llvm/llvm-project/pull/164281
More information about the libcxx-commits
mailing list