We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a52692 commit 7384d91Copy full SHA for 7384d91
libcxx/test/std/utilities/utility/utility.swap/swap_array.pass.cpp
@@ -137,8 +137,6 @@ TEST_CONSTEXPR_CXX20 bool test() {
137
static_assert(noexcept(std::swap(ma, ma)), "");
138
}
139
140
- // `unique_ptr` is constexpr only since C++23, so we can't inline `test_unique_ptr()` into `test()`
141
- // because `test()` is constexpr since C++20.
142
if (TEST_STD_VER >= 23 || !TEST_IS_CONSTANT_EVALUATED)
143
test_unique_ptr();
144
#endif
0 commit comments