[libcxx-commits] [libcxx] [libc++] Implement LWG2991: variant copy constructor missing noexcept(see below) (PR #230241)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 9 02:50:13 PDT 2026
================
@@ -99,6 +109,28 @@ void makeEmpty(Variant& v) {
}
#endif // TEST_HAS_NO_EXCEPTIONS
+constexpr void test_copy_noexcept() {
----------------
frederick-vs-ja wrote:
I think it's simpler not to introduce this function as we're only testing `is_nothrow_copy_constructible_v` without executing anything.
https://github.com/llvm/llvm-project/pull/230241
More information about the libcxx-commits
mailing list